summaryrefslogtreecommitdiff
path: root/src/station_gui.cpp
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2009-01-10 00:31:47 +0000
committerrubidium <rubidium@openttd.org>2009-01-10 00:31:47 +0000
commit11da45ee55957c243854cd78705d81543541c061 (patch)
tree29e703244d28f29c8634b2d30f42b34852fe74bc /src/station_gui.cpp
parentc3839648f75ebfdca2f7d95b7d6a2b29445ab1c2 (diff)
downloadopenttd-11da45ee55957c243854cd78705d81543541c061.tar.xz
(svn r14949) -Cleanup: pointer coding style
Diffstat (limited to 'src/station_gui.cpp')
-rw-r--r--src/station_gui.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/station_gui.cpp b/src/station_gui.cpp
index 1fa339259..dca791db2 100644
--- a/src/station_gui.cpp
+++ b/src/station_gui.cpp
@@ -149,7 +149,7 @@ protected:
}
/** Sort stations by their name */
- static int CDECL StationNameSorter(const Station* const *a, const Station* const *b)
+ static int CDECL StationNameSorter(const Station * const *a, const Station * const *b)
{
static char buf_cache[64];
char buf[64];
@@ -167,13 +167,13 @@ protected:
}
/** Sort stations by their type */
- static int CDECL StationTypeSorter(const Station* const *a, const Station* const *b)
+ static int CDECL StationTypeSorter(const Station * const *a, const Station * const *b)
{
return (*a)->facilities - (*b)->facilities;
}
/** Sort stations by their waiting cargo */
- static int CDECL StationWaitingSorter(const Station* const *a, const Station* const *b)
+ static int CDECL StationWaitingSorter(const Station * const *a, const Station * const *b)
{
Money diff = 0;
@@ -187,7 +187,7 @@ protected:
}
/** Sort stations by their rating */
- static int CDECL StationRatingMaxSorter(const Station* const *a, const Station* const *b)
+ static int CDECL StationRatingMaxSorter(const Station * const *a, const Station * const *b)
{
byte maxr1 = 0;
byte maxr2 = 0;