From d2b3e9b2a1542804187e32c842444aa752a8b9bd Mon Sep 17 00:00:00 2001 From: belugas Date: Wed, 28 Jun 2006 17:46:55 +0000 Subject: [PATCH] (svn r5404) Fix (r5391) : Yet another typo. Nothing specatular :) Spotted by gigajum --- train_gui.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/train_gui.c b/train_gui.c index 07aabfdff2..34e02a3b60 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;