summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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);