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
commit28ea38ae5572d99598aa400fb62eb38f5f7ffd7b (patch)
tree29e703244d28f29c8634b2d30f42b34852fe74bc /src/station_gui.cpp
parent86d50b6415635d1f1fb87bd62f1e08aa7b8f0033 (diff)
downloadopenttd-28ea38ae5572d99598aa400fb62eb38f5f7ffd7b.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;