summaryrefslogtreecommitdiff
path: root/src/osk_gui.cpp
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2008-12-16 17:58:27 +0000
committerrubidium <rubidium@openttd.org>2008-12-16 17:58:27 +0000
commit94a5f66427ec48fae8d939254916c48fcdf5b1ce (patch)
tree7f6e9a1062fc5034eb21ca5b1895d24cae43f965 /src/osk_gui.cpp
parentf1c7e4662a379fdc1f59e69c0823b7daae5a4958 (diff)
downloadopenttd-94a5f66427ec48fae8d939254916c48fcdf5b1ce.tar.xz
(svn r14679) -Fix [FS#2431]: opening the OSK on the chatbox did disable map scrolling (with keyboard) until another window with editbox was opened and closed. Just "refcount" the open edit boxes instead of setting/clearing a bit when opening/closing a window.
Diffstat (limited to 'src/osk_gui.cpp')
-rw-r--r--src/osk_gui.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/osk_gui.cpp b/src/osk_gui.cpp
index ad7577630..1dfce4cfb 100644
--- a/src/osk_gui.cpp
+++ b/src/osk_gui.cpp
@@ -66,7 +66,6 @@ struct OskWindow : public Window {
/* make a copy in case we need to reset later */
this->orig_str_buf = strdup(this->qs->text.buf);
- SetBit(_no_scroll, SCROLL_EDIT);
/* Not needed by default. */
this->DisableWidget(OSK_WIDGET_SPECIAL);