diff options
author | truelight <truelight@openttd.org> | 2004-09-10 19:02:27 +0000 |
---|---|---|
committer | truelight <truelight@openttd.org> | 2004-09-10 19:02:27 +0000 |
commit | eb49a19460f1478a9e9cee99a76391acec72d939 (patch) | |
tree | df7199c5876910bc07eb93bce29fdee7172c0fcf /subsidy_gui.c | |
parent | 1c1a5b91c9b8fab3d178d207e6f77c880a142d6c (diff) | |
download | openttd-eb49a19460f1478a9e9cee99a76391acec72d939.tar.xz |
(svn r194) -Codechange: stripping trailing-spaces. Please keep this that way!
Diffstat (limited to 'subsidy_gui.c')
-rw-r--r-- | subsidy_gui.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/subsidy_gui.c b/subsidy_gui.c index 4e14aab67..ddb294561 100644 --- a/subsidy_gui.c +++ b/subsidy_gui.c @@ -10,7 +10,7 @@ #include "economy.h" static void HandleSubsidyClick(int y) -{ +{ Subsidy *s; int num,offs; TileIndex xy; @@ -42,7 +42,7 @@ static void HandleSubsidyClick(int y) } } return; - + handle_click: /* determine from coordinate for subsidy and try to scroll to it */ @@ -53,7 +53,7 @@ handle_click: xy = DEREF_TOWN(offs)->xy; } else { xy = _industries[offs].xy; - + } if (!ScrollMainWindowToTile(xy)) { /* otherwise determine to coordinate for subsidy and scroll to it */ @@ -90,7 +90,7 @@ static void DrawSubsidiesWindow(Window *w) if (s->cargo_type != 0xFF && s->age < 12) { SetupSubsidyDecodeParam(s, 1); x2 = DrawString(x+2, y, STR_2027_FROM_TO, 0); - + SET_DPARAM16(0, _date - ymd.day + 384 - s->age * 32); DrawString(x2, y, STR_2028_BY, 0); y += 10; |