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 /engine_gui.c | |
parent | 1c1a5b91c9b8fab3d178d207e6f77c880a142d6c (diff) | |
download | openttd-eb49a19460f1478a9e9cee99a76391acec72d939.tar.xz |
(svn r194) -Codechange: stripping trailing-spaces. Please keep this that way!
Diffstat (limited to 'engine_gui.c')
-rw-r--r-- | engine_gui.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/engine_gui.c b/engine_gui.c index df496ae1f..476d7122a 100644 --- a/engine_gui.c +++ b/engine_gui.c @@ -88,7 +88,7 @@ static void EnginePreviewWndProc(Window *w, WindowEvent *e) case WE_CLICK: switch(e->click.widget) { case 3: DeleteWindow(w); break; - case 4: + case 4: DoCommandP(0, w->window_number, 0, NULL, CMD_WANT_ENGINE_PREVIEW); DeleteWindow(w); break; @@ -150,7 +150,7 @@ void DrawNewsNewAircraftAvail(Window *w) DrawNewsBorder(w); engine = WP(w,news_d).ni->string_id; - + DrawStringMultiCenter(w->width >> 1, 20, STR_A02C_NEW_AIRCRAFT_NOW_AVAILABLE, w->width - 2); GfxFillRect(25, 56, w->width - 25, w->height - 2, 10); @@ -203,7 +203,7 @@ void DrawNewsNewShipAvail(Window *w) DrawNewsBorder(w); engine = WP(w,news_d).ni->string_id; - + DrawStringMultiCenter(w->width >> 1, 20, STR_982C_NEW_SHIP_NOW_AVAILABLE, w->width - 2); GfxFillRect(25, 56, w->width - 25, w->height - 2, 10); |