1
0
Fork 0

(svn r241) -Fix: Trailing spaces :O

release/0.4.5
darkvater 2004-09-13 23:43:54 +00:00
parent bb2f8d8d1a
commit 72457bac0d
6 changed files with 6 additions and 7 deletions

View File

@ -897,7 +897,7 @@ void RemoteSubsidyAdd(Subsidy *s_new)
Pair pair; Pair pair;
// search the first free subsidy // search the first free subsidy
for(s=_subsidies; s != endof(_subsidies); s++) for(s=_subsidies; s != endof(_subsidies); s++)
if (s->cargo_type == 0xFF) if (s->cargo_type == 0xFF)
break; break;
@ -907,7 +907,6 @@ void RemoteSubsidyAdd(Subsidy *s_new)
AddNewsItem(STR_2030_SERVICE_SUBSIDY_OFFERED, NEWS_FLAGS(NM_NORMAL, NF_TILE, NT_SUBSIDIES, 0), pair.a, pair.b); AddNewsItem(STR_2030_SERVICE_SUBSIDY_OFFERED, NEWS_FLAGS(NM_NORMAL, NF_TILE, NT_SUBSIDIES, 0), pair.a, pair.b);
InvalidateWindow(WC_SUBSIDIES_LIST, 0); InvalidateWindow(WC_SUBSIDIES_LIST, 0);
} }
static void SubsidyMonthlyHandler() static void SubsidyMonthlyHandler()

View File

@ -70,7 +70,7 @@ VARDEF Subsidy _subsidies[MAX_PLAYERS];
Pair SetupSubsidyDecodeParam(Subsidy *s, bool mode); Pair SetupSubsidyDecodeParam(Subsidy *s, bool mode);
void DeleteSubsidyWithIndustry(byte index); void DeleteSubsidyWithIndustry(byte index);
void DeleteSubsidyWithStation(byte index); void DeleteSubsidyWithStation(byte index);
void RemoteSubsidyAdd(Subsidy *s_new); void RemoteSubsidyAdd(Subsidy *s_new);
int32 GetTransportedGoodsIncome(uint num_pieces, uint dist, byte transit_days, byte cargo_type); int32 GetTransportedGoodsIncome(uint num_pieces, uint dist, byte transit_days, byte cargo_type);
uint MoveGoodsToStation(uint tile, int w, int h, int type, uint amount); uint MoveGoodsToStation(uint tile, int w, int h, int type, uint amount);

View File

@ -51,7 +51,7 @@ void DrawGraph(GraphDrawer *gw)
int64 cur_val; int64 cur_val;
uint sel; uint sel;
/* the colors and cost array of GraphDrawer must accomodate /* the colors and cost array of GraphDrawer must accomodate
* both values for cargo and players. So if any are higher, quit */ * both values for cargo and players. So if any are higher, quit */
assert(GRAPH_NUM >= NUM_CARGO && GRAPH_NUM >= MAX_PLAYERS); assert(GRAPH_NUM >= NUM_CARGO && GRAPH_NUM >= MAX_PLAYERS);

View File

@ -1886,7 +1886,7 @@ static byte MakeRomanianTownName(byte *buf, uint32 seed)
AppendPart(&buf, GETNUM(0, NUM_ROMANIAN_1), romanian_1); AppendPart(&buf, GETNUM(0, NUM_ROMANIAN_1), romanian_1);
return 0; return 0;
} }
#define NUM_SLOVAKISH_1 87 #define NUM_SLOVAKISH_1 87
static const char slovakish_1[] = static const char slovakish_1[] =
MK("Bratislava") MK("Bratislava")

View File

@ -72,7 +72,7 @@ static const CurrencySpec _currency_specs[] = {
{ 50, ',', 0, "", " Kc" }, { 50, ',', 0, "", " Kc" },
{ 130, '.', 0, "", " kr" }, { 130, '.', 0, "", " kr" },
{ 11, '.', 0, "", " kr" }, { 11, '.', 0, "", " kr" },
{ 6, '.', 0, "", " Lei" }, { 6, '.', 0, "", " Lei" },
{ 2, ',', CF_ISEURO, "", "" }, { 2, ',', CF_ISEURO, "", "" },
}; };

2
ttd.h
View File

@ -484,7 +484,7 @@ enum SpecialStrings {
SPECSTR_TOWNNAME_HUNGARIAN, SPECSTR_TOWNNAME_HUNGARIAN,
SPECSTR_TOWNNAME_AUSTRIAN, SPECSTR_TOWNNAME_AUSTRIAN,
SPECSTR_TOWNNAME_ROMANIAN, SPECSTR_TOWNNAME_ROMANIAN,
SPECSTR_TOWNNAME_LAST = SPECSTR_TOWNNAME_ROMANIAN, SPECSTR_TOWNNAME_LAST = SPECSTR_TOWNNAME_ROMANIAN,
// special strings for player names on the form "TownName transport". // special strings for player names on the form "TownName transport".
SPECSTR_PLAYERNAME_START = 0x70EA, SPECSTR_PLAYERNAME_START = 0x70EA,