(svn r25312) -Fix-ish: missing spaces after comma + realignment of tables; quite boring with -x -w

pull/155/head
rubidium 11 years ago
parent 89a627fe4e
commit 2b2706009e

@ -169,7 +169,7 @@ const char *FiosBrowseTo(const FiosItem *item);
StringID FiosGetDescText(const char **path, uint64 *total_free); StringID FiosGetDescText(const char **path, uint64 *total_free);
bool FiosDelete(const char *name); bool FiosDelete(const char *name);
void FiosMakeHeightmapName(char *buf,const char *name, size_t size); void FiosMakeHeightmapName(char *buf, const char *name, size_t size);
void FiosMakeSavegameName(char *buf, const char *name, size_t size); void FiosMakeSavegameName(char *buf, const char *name, size_t size);
FiosType FiosGetSavegameListCallback(SaveLoadDialogMode mode, const char *file, const char *ext, char *title, const char *last); FiosType FiosGetSavegameListCallback(SaveLoadDialogMode mode, const char *file, const char *ext, char *title, const char *last);

@ -3625,7 +3625,7 @@ static ChangeInfoResult AirportChangeInfo(uint airport, int numinfo, int prop, B
if (att[k].ti.x == 0 && att[k].ti.y == 0x80) { if (att[k].ti.x == 0 && att[k].ti.y == 0x80) {
/* Not the same terminator. The one we are using is rather /* Not the same terminator. The one we are using is rather
x= -80, y = 0 . So, adjust it. */ * x = -80, y = 0 . So, adjust it. */
att[k].ti.x = -0x80; att[k].ti.x = -0x80;
att[k].ti.y = 0; att[k].ti.y = 0;
att[k].gfx = 0; att[k].gfx = 0;

@ -259,7 +259,7 @@ const SaveLoad *GetGoodsDesc()
SLEG_CONDVAR( _cargo_feeder_share, SLE_INT64, 65, 67), SLEG_CONDVAR( _cargo_feeder_share, SLE_INT64, 65, 67),
SLE_CONDVAR(GoodsEntry, amount_fract, SLE_UINT8, 150, SL_MAX_VERSION), SLE_CONDVAR(GoodsEntry, amount_fract, SLE_UINT8, 150, SL_MAX_VERSION),
SLE_CONDLST(GoodsEntry, cargo.packets, REF_CARGO_PACKET, 68, SL_MAX_VERSION), SLE_CONDLST(GoodsEntry, cargo.packets, REF_CARGO_PACKET, 68, SL_MAX_VERSION),
SLE_CONDVAR(GoodsEntry, cargo.reserved_count,SLE_UINT, 181, SL_MAX_VERSION), SLE_CONDVAR(GoodsEntry, cargo.reserved_count, SLE_UINT, 181, SL_MAX_VERSION),
SLE_END() SLE_END()
}; };

@ -1260,7 +1260,7 @@ inline uint SmallMapWindow::GetNumberRowsLegend(uint columns) const
{ {
/* Reserve one column for link colours */ /* Reserve one column for link colours */
uint num_rows_linkstats = CeilDiv(_smallmap_cargo_count, columns - 1); uint num_rows_linkstats = CeilDiv(_smallmap_cargo_count, columns - 1);
uint num_rows_others = CeilDiv(max(_smallmap_industry_count,_smallmap_company_count), columns); uint num_rows_others = CeilDiv(max(_smallmap_industry_count, _smallmap_company_count), columns);
return max(this->min_number_of_fixed_rows, max(num_rows_linkstats, num_rows_others)); return max(this->min_number_of_fixed_rows, max(num_rows_linkstats, num_rows_others));
} }

File diff suppressed because it is too large Load Diff
Loading…
Cancel
Save