(svn r5136) Fix various style bugs:

- Trailing whitespace
- Trailing empty lines
- Missing newline at EOF
- Missing svn:eol-style native
This commit is contained in:
tron 2006-06-05 18:10:43 +00:00
parent 30651e8bcb
commit aada042d57
24 changed files with 54 additions and 86 deletions

View File

@ -46,4 +46,3 @@ or if you want it to tell the revision too
gcc strgen/strgen.c rev.o -o strgen/strgen -DUNIX -DWITH_REV (this is the one the makefile uses)
you now have a program called strgen in the strgen directory

View File

@ -369,4 +369,3 @@ void DrawCatenary(const TileInfo *ti)
break;
}
}

View File

@ -234,4 +234,3 @@ const SpriteGroup *Resolve(const SpriteGroup *group, ResolverObject *object)
default: return group;
}
}

View File

@ -19,4 +19,3 @@ local scripts:
- 'on_dedicated.scr' is additionally executed after starting a server [dedicated only]
For examples how a script can look, check the .example examples.

View File

@ -1755,4 +1755,3 @@ static bool IsSignedVarMemType(VarType vt)
}
return false;
}

View File

@ -447,4 +447,3 @@ static const CatenarySprite Wires[5][TRACK_END][4] = {
};
#endif /* ELRAIL_DATA_H */

View File

@ -114,4 +114,3 @@ static inline void MakeCompanyHQ(TileIndex t, Owner o)
MakeUnmovable(t + TileDiffXY(1, 0), UNMOVABLE_HQ_EAST, o);
MakeUnmovable(t + TileDiffXY(1, 1), UNMOVABLE_HQ_SOUTH, o);
}

View File

@ -34,6 +34,3 @@ Same types as for ships:
- 2 - YAPF type 2 (Node = Tile/ExitDir , 90 deg. turns allowed)
- 3 - YAPF type 3 (Node = Tile/Trackdir, no 90 deg.)
- 4 - YAPF type 4 (Node = Tile/ExitDir , no 90 deg.)

View File

@ -39,4 +39,3 @@ bool FollowTrackRailNo90(FollowTrack_t *This, TileIndex old_tile, Trackdir old_t
CFollowTrackRailNo90& F = *(CFollowTrackRailNo90*) This;
return F.Follow(old_tile, old_td);
}

View File

@ -40,4 +40,3 @@ static int TestAutoCopyPtr(bool silent)
CHECK_INT(5, CData::NumInstances(), 0);
return res;
}

View File

@ -100,4 +100,3 @@ static int TestBinaryHeap2(bool silent)
CHECK_INT(7, CData::NumInstances(), 0);
return res;
}

View File

@ -111,4 +111,3 @@ static int TestArray(bool silent)
return res;
}

View File

@ -70,5 +70,3 @@ static int TestHashTable1(bool silent)
}
return res;
}

View File

@ -357,5 +357,3 @@ struct CTestYapf2
: public CYapfT<CYapf_TypesT<CTestYapf2, CNodeList2, CYapfMap1> >
{
};

View File

@ -157,10 +157,3 @@ const TrackdirBits _track_crosses_trackdirs[] = {
TRACKDIR_BIT_UPPER_W | TRACKDIR_BIT_UPPER_E | TRACKDIR_BIT_LOWER_W | TRACKDIR_BIT_LOWER_E, /* TRACK_LEFT */
TRACKDIR_BIT_UPPER_W | TRACKDIR_BIT_UPPER_E | TRACKDIR_BIT_LOWER_W | TRACKDIR_BIT_LOWER_E /* TRACK_RIGHT */
};

View File

@ -27,8 +27,3 @@ typedef int(*TESTPROC)(bool silent);
# include <windows.h>
#else
#endif

View File

@ -27,4 +27,3 @@ const TrackdirBits CYapfCostBase::c_upwards_slopes[] = {
TRACKDIR_BIT_NONE , //14
TRACKDIR_BIT_NONE , //15
};

View File

@ -174,4 +174,3 @@ int NpfEndInterval(void* vperf)
delete &perf;
return t;
}