diff options
author | terkhen <terkhen@openttd.org> | 2010-07-14 11:43:46 +0000 |
---|---|---|
committer | terkhen <terkhen@openttd.org> | 2010-07-14 11:43:46 +0000 |
commit | e9793b3427a67b4768fc91927ebbb5c34b4f8b53 (patch) | |
tree | 59acdc58447748c58f5a582d4aa1501bcd31f266 /src | |
parent | 0dde0a75855934b52123fddbcd5a4312f09b1835 (diff) | |
download | openttd-e9793b3427a67b4768fc91927ebbb5c34b4f8b53.tar.xz |
(svn r20139) -Fix [FS#3902]: Found town window ignored all hotkeys (Zuu).
Diffstat (limited to 'src')
-rw-r--r-- | src/town_gui.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/town_gui.cpp b/src/town_gui.cpp index a6f463cc6..05c3ed260 100644 --- a/src/town_gui.cpp +++ b/src/town_gui.cpp @@ -1188,7 +1188,7 @@ public: virtual EventState OnKeyPress(uint16 key, uint16 keycode) { - EventState state; + EventState state = ES_NOT_HANDLED; if (this->HandleEditBoxKey(TSEW_TOWNNAME_EDITBOX, key, keycode, state) == HEBR_CANCEL) { this->UnfocusFocusedWidget(); } |