summaryrefslogtreecommitdiff
path: root/train_gui.c
diff options
context:
space:
mode:
authorbelugas <belugas@openttd.org>2006-06-28 17:46:55 +0000
committerbelugas <belugas@openttd.org>2006-06-28 17:46:55 +0000
commit91c9f46a5f2bac2c3feedb0e435b629c4f8b67bb (patch)
tree29307696c8b89dc4ac77c0028ef8f20c1cf15671 /train_gui.c
parenta12c748f5bdab0619e2ac8008aaf9324fe2a6419 (diff)
downloadopenttd-91c9f46a5f2bac2c3feedb0e435b629c4f8b67bb.tar.xz
(svn r5404) Fix (r5391) : Yet another typo. Nothing specatular :)
Spotted by gigajum
Diffstat (limited to 'train_gui.c')
-rw-r--r--train_gui.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/train_gui.c b/train_gui.c
index 07aabfdff..34e02a3b6 100644
--- a/train_gui.c
+++ b/train_gui.c
@@ -1506,7 +1506,7 @@ static void PlayerTrainsWndProc(Window *w, WindowEvent *e)
break;
case 10:
- if (IsWindowOfPrototype(w, _player_trains_widgets)) break;
+ if (!IsWindowOfPrototype(w, _player_trains_widgets)) break;
ShowReplaceVehicleWindow(VEH_Train);
break;