summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortron <tron@openttd.org>2005-01-03 22:12:36 +0000
committertron <tron@openttd.org>2005-01-03 22:12:36 +0000
commit39bb8630247af77702d56fb41181f648604a676a (patch)
tree1230dca67d0fd2604956ed73df9d582dc5cabef5
parent2f2688b829cc61a453f668a3fa388489ad043528 (diff)
downloadopenttd-39bb8630247af77702d56fb41181f648604a676a.tar.xz
(svn r1359) Fix typos in last commit
-rw-r--r--roadveh_gui.c2
-rw-r--r--ship_gui.c2
-rw-r--r--train_gui.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/roadveh_gui.c b/roadveh_gui.c
index 06737a501..7c246ba5c 100644
--- a/roadveh_gui.c
+++ b/roadveh_gui.c
@@ -513,7 +513,7 @@ static void DrawRoadDepotWindow(Window *w)
/* locate the depot struct */
for (d = _depots; d->xy != (TileIndex)tile; d++) {
- assert(d < endof(_depots);
+ assert(d < endof(_depots));
}
SetDParam(0, d->town_index);
diff --git a/ship_gui.c b/ship_gui.c
index e90077aed..65d4de0c0 100644
--- a/ship_gui.c
+++ b/ship_gui.c
@@ -647,7 +647,7 @@ static void DrawShipDepotWindow(Window *w)
/* locate the depot struct */
for (d = _depots; d->xy != (TileIndex)tile; d++) {
- assert(d < endof(_depots);
+ assert(d < endof(_depots));
}
SetDParam(0, d->town_index);
diff --git a/train_gui.c b/train_gui.c
index b590eb29b..d52f23307 100644
--- a/train_gui.c
+++ b/train_gui.c
@@ -334,7 +334,7 @@ static void DrawTrainDepotWindow(Window *w)
/* locate the depot struct */
for (d = _depots; d->xy != (TileIndex)tile; d++) {
- assert(d < endof(_depots);
+ assert(d < endof(_depots));
}
SetDParam(0, d->town_index);