forked from mirror/OpenTTD
(svn r223) -Fix: Const correctness and miscellaneous fixes. Thank you Tron for your diligent fixing of warnings (and some possibly bugs) (Tron)
-CodeLayout: Remove trailing spaces and Windows linebreaks
This commit is contained in:
@@ -54,9 +54,8 @@ static int CDECL StationNameSorter(const void *a, const void *b)
|
||||
{
|
||||
char buf1[64];
|
||||
Station *st;
|
||||
SortStruct *cmp1, *cmp2;
|
||||
cmp1 = (SortStruct*)a;
|
||||
cmp2 = (SortStruct*)b;
|
||||
const SortStruct *cmp1 = (const SortStruct*)a;
|
||||
const SortStruct *cmp2 = (const SortStruct*)b;
|
||||
|
||||
st = DEREF_STATION(cmp1->index);
|
||||
SET_DPARAM16(0, st->town->townnametype);
|
||||
|
Reference in New Issue
Block a user