From 72457bac0dd4d20e98a1f7d537316f34a2ec5844 Mon Sep 17 00:00:00 2001 From: darkvater Date: Mon, 13 Sep 2004 23:43:54 +0000 Subject: (svn r241) -Fix: Trailing spaces :O --- economy.c | 3 +-- economy.h | 2 +- graph_gui.c | 2 +- namegen.c | 2 +- strings.c | 2 +- ttd.h | 2 +- 6 files changed, 6 insertions(+), 7 deletions(-) diff --git a/economy.c b/economy.c index 68fd142e1..b013ad816 100644 --- a/economy.c +++ b/economy.c @@ -897,7 +897,7 @@ void RemoteSubsidyAdd(Subsidy *s_new) Pair pair; // search the first free subsidy - for(s=_subsidies; s != endof(_subsidies); s++) + for(s=_subsidies; s != endof(_subsidies); s++) if (s->cargo_type == 0xFF) 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); InvalidateWindow(WC_SUBSIDIES_LIST, 0); - } static void SubsidyMonthlyHandler() diff --git a/economy.h b/economy.h index c9c043ff1..36ac2247e 100644 --- a/economy.h +++ b/economy.h @@ -70,7 +70,7 @@ VARDEF Subsidy _subsidies[MAX_PLAYERS]; Pair SetupSubsidyDecodeParam(Subsidy *s, bool mode); void DeleteSubsidyWithIndustry(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); uint MoveGoodsToStation(uint tile, int w, int h, int type, uint amount); diff --git a/graph_gui.c b/graph_gui.c index da33c0e72..3147f3559 100644 --- a/graph_gui.c +++ b/graph_gui.c @@ -51,7 +51,7 @@ void DrawGraph(GraphDrawer *gw) int64 cur_val; 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 */ assert(GRAPH_NUM >= NUM_CARGO && GRAPH_NUM >= MAX_PLAYERS); diff --git a/namegen.c b/namegen.c index 576b4a57c..5b7867b42 100644 --- a/namegen.c +++ b/namegen.c @@ -1886,7 +1886,7 @@ static byte MakeRomanianTownName(byte *buf, uint32 seed) AppendPart(&buf, GETNUM(0, NUM_ROMANIAN_1), romanian_1); return 0; } - + #define NUM_SLOVAKISH_1 87 static const char slovakish_1[] = MK("Bratislava") diff --git a/strings.c b/strings.c index f79b491ab..1b22d0693 100644 --- a/strings.c +++ b/strings.c @@ -72,7 +72,7 @@ static const CurrencySpec _currency_specs[] = { { 50, ',', 0, "", " Kc" }, { 130, '.', 0, "", " kr" }, { 11, '.', 0, "", " kr" }, - { 6, '.', 0, "", " Lei" }, + { 6, '.', 0, "", " Lei" }, { 2, ',', CF_ISEURO, "€", "" }, }; diff --git a/ttd.h b/ttd.h index 23d0260f3..57f73421e 100644 --- a/ttd.h +++ b/ttd.h @@ -484,7 +484,7 @@ enum SpecialStrings { SPECSTR_TOWNNAME_HUNGARIAN, SPECSTR_TOWNNAME_AUSTRIAN, 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". SPECSTR_PLAYERNAME_START = 0x70EA, -- cgit v1.2.3-54-g00ecf