Changeset - r14509:7fa74c77b7ed
[Not reviewed]
master
0 6 0
rubidium - 15 years ago 2010-02-10 21:06:05
rubidium@openttd.org
(svn r19090) -Codechange: some comment coding style fixes
6 files changed with 11 insertions and 11 deletions:
0 comments (0 inline, 0 general)
src/company_gui.cpp
Show inline comments
 
@@ -1328,25 +1328,25 @@ public:
 

	
 

	
 
			case SCMFW_WIDGET_HAS_MOUSTACHE_EARRING:
 
				if (this->is_female) { /* Only for female faces */
 
				if (this->is_female) { // Only for female faces
 
					this->DrawFaceStringLabel(SCMFW_WIDGET_HAS_MOUSTACHE_EARRING, GetCompanyManagerFaceBits(this->face, CMFV_HAS_TIE_EARRING, this->ge), true);
 
				} else { /* Only for male faces */
 
				} else { // Only for male faces
 
					this->DrawFaceStringLabel(SCMFW_WIDGET_HAS_MOUSTACHE_EARRING, GetCompanyManagerFaceBits(this->face, CMFV_HAS_MOUSTACHE,   this->ge), true);
 
				}
 
				break;
 

	
 
			case SCMFW_WIDGET_TIE_EARRING:
 
				if (this->is_female) { /* Only for female faces */
 
				if (this->is_female) { // Only for female faces
 
					this->DrawFaceStringLabel(SCMFW_WIDGET_TIE_EARRING, GetCompanyManagerFaceBits(this->face, CMFV_TIE_EARRING, this->ge), false);
 
				} else { /* Only for male faces */
 
				} else { // Only for male faces
 
					this->DrawFaceStringLabel(SCMFW_WIDGET_TIE_EARRING, GetCompanyManagerFaceBits(this->face, CMFV_TIE_EARRING, this->ge), false);
 
				}
 
				break;
 

	
 
			case SCMFW_WIDGET_LIPS_MOUSTACHE:
 
				if (this->is_moust_male) { /* Only for male faces with moustache */
 
				if (this->is_moust_male) { // Only for male faces with moustache
 
					this->DrawFaceStringLabel(SCMFW_WIDGET_LIPS_MOUSTACHE, GetCompanyManagerFaceBits(this->face, CMFV_MOUSTACHE, this->ge), false);
 
				} else { /* Only for female faces or male faces without moustache */
 
				} else { // Only for female faces or male faces without moustache
 
					this->DrawFaceStringLabel(SCMFW_WIDGET_LIPS_MOUSTACHE, GetCompanyManagerFaceBits(this->face, CMFV_LIPS,      this->ge), false);
 
				}
 
				break;
src/graph_gui.cpp
Show inline comments
 
@@ -842,7 +842,7 @@ struct PaymentRatesGraphWindow : BaseGra
 
		const CargoSpec *cs = CargoSpec::Get(widget - CPW_CARGO_FIRST);
 
		SetDParam(0, cs->name);
 
		Dimension d = GetStringBoundingBox(STR_GRAPH_CARGO_PAYMENT_CARGO);
 
		d.width += 14; /* colour field */
 
		d.width += 14; // colour field
 
		d.width += WD_FRAMERECT_LEFT + WD_FRAMERECT_RIGHT;
 
		d.height += WD_FRAMERECT_TOP + WD_FRAMERECT_BOTTOM;
 
		*size = maxdim(d, *size);
src/network/core/os_abstraction.h
Show inline comments
 
@@ -40,7 +40,7 @@ typedef unsigned long in_addr_t;
 
#include "../../os/windows/win32.h"
 
#include "../../core/alloc_func.hpp"
 

	
 
#define AI_ADDRCONFIG   0x00000400  // Resolution only if global address configured
 
#define AI_ADDRCONFIG   0x00000400  /* Resolution only if global address configured */
 
#define IPV6_V6ONLY 27
 

	
 
static inline int OTTDgetnameinfo(const struct sockaddr *sa, socklen_t salen, char *host, DWORD hostlen, char *serv, DWORD servlen, int flags)
src/network/core/tcp_http.cpp
Show inline comments
 
@@ -175,7 +175,7 @@ int NetworkHTTPSocketHandler::HandleHead
 
	return 0;
 
}
 

	
 
/*static */ int NetworkHTTPSocketHandler::Connect(char *uri, HTTPCallback *callback, const char *data, int depth)
 
/* static */ int NetworkHTTPSocketHandler::Connect(char *uri, HTTPCallback *callback, const char *data, int depth)
 
{
 
	char *hname = strstr(uri, "://");
 
	if (hname == NULL) return_error("[tcp/http] invalid location");
src/saveload/vehicle_sl.cpp
Show inline comments
 
@@ -715,7 +715,7 @@ void Load_VEHS()
 
			case VEH_AIRCRAFT: v = new (index) Aircraft();        break;
 
			case VEH_EFFECT:   v = new (index) EffectVehicle();   break;
 
			case VEH_DISASTER: v = new (index) DisasterVehicle(); break;
 
			case VEH_INVALID: /* Savegame shouldn't contain invalid vehicles */
 
			case VEH_INVALID: // Savegame shouldn't contain invalid vehicles
 
			default: NOT_REACHED();
 
		}
 

	
src/train.h
Show inline comments
 
@@ -387,7 +387,7 @@ struct Train : public SpecializedVehicle
 
	}
 

	
 

	
 
protected: /* These functions should not be called outside acceleration code. */
 
protected: // These functions should not be called outside acceleration code.
 

	
 
	/**
 
	 * Allows to know the power value that this vehicle will use.
0 comments (0 inline, 0 general)