From 74568aade0e038051b857ac84e1458662e780b70 Mon Sep 17 00:00:00 2001 From: tron Date: Mon, 3 Jan 2005 22:12:36 +0000 Subject: [PATCH] (svn r1359) Fix typos in last commit --- roadveh_gui.c | 2 +- ship_gui.c | 2 +- train_gui.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/roadveh_gui.c b/roadveh_gui.c index 06737a5019..7c246ba5c9 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 e90077aed6..65d4de0c07 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 b590eb29b6..d52f233071 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);