diff --git a/economy.c b/economy.c index 68fd142e11..b013ad816d 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 c9c043ff1e..36ac2247ef 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 da33c0e72d..3147f3559e 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 576b4a57c8..5b7867b422 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 f79b491abe..1b22d06930 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 23d0260f34..57f73421ed 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,