summaryrefslogtreecommitdiff
path: root/train_gui.c
diff options
context:
space:
mode:
authortron <tron@openttd.org>2005-01-15 08:58:31 +0000
committertron <tron@openttd.org>2005-01-15 08:58:31 +0000
commit3279a7c9a26242f5f0a8e4b41ae6e2d9e24ee169 (patch)
treee70312993e66c5b848feb30831527cca401c08f8 /train_gui.c
parent7f7c6297f7bb6bb225741773a5438a916a91da08 (diff)
downloadopenttd-3279a7c9a26242f5f0a8e4b41ae6e2d9e24ee169.tar.xz
(svn r1520) Trim 134 (!) lines with trailing whitespace ):
Diffstat (limited to 'train_gui.c')
-rw-r--r--train_gui.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/train_gui.c b/train_gui.c
index 4b28d3257..7447fb558 100644
--- a/train_gui.c
+++ b/train_gui.c
@@ -358,7 +358,7 @@ static void DrawTrainDepotWindow(Window *w)
/* Draw the train number */
SetDParam(0, v->unitnumber);
DrawString(x, y, (v->max_age - 366 < v->age) ? STR_00E3 : STR_00E2, 0);
-
+
/*Draw the train counter */
i = 0;
u = v;
@@ -366,7 +366,7 @@ static void DrawTrainDepotWindow(Window *w)
SetDParam(0, i); //Set the counter
i = (w->hscroll.cap * 29) + (x + 26); //Calculate position of text according to window size
DrawStringCentered(i, y+5, STR_TINY_BLACK, 0); //Draw the counter
-
+
/* Draw the pretty flag */
DrawSprite(v->vehstatus&VS_STOPPED ? 0xC12 : 0xC13, x+15, y);
@@ -384,7 +384,7 @@ static void DrawTrainDepotWindow(Window *w)
DrawTrainImage(v, x+50, y, w->hscroll.cap - 1, 0, WP(w,traindepot_d).sel);
DrawString(x, y+2, STR_8816, 0);
-
+
/*Draw the train counter */
i = 0;
u = v;