diff options
author | Darkvater <Darkvater@openttd.org> | 2005-02-22 14:52:20 +0000 |
---|---|---|
committer | Darkvater <Darkvater@openttd.org> | 2005-02-22 14:52:20 +0000 |
commit | 7656c683cf3daf0ccaec7034541a418c4969ca5f (patch) | |
tree | b49fb9bb8df94481ce40ba392c0f8fb12a775bec /window.c | |
parent | 5cb74cb049b0a1ecb1a1efa682380108f1072146 (diff) | |
download | openttd-7656c683cf3daf0ccaec7034541a418c4969ca5f.tar.xz |
(svn r1901) - Fix: unwanted behaviour of the savegame dialog, as well as a bug with a sloppy termination of a string. When any editbox is open, scrolling is disabled. If any new types of editboxes come up, please use SET/CLRBIT of _no_scroll with its unique identifier (ttd.h)
Diffstat (limited to 'window.c')
-rw-r--r-- | window.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -669,7 +669,6 @@ Window *FindWindowFromPt(int x, int y) return NULL; } - void InitWindowSystem(void) { IConsoleClose(); @@ -677,6 +676,7 @@ void InitWindowSystem(void) _last_window = _windows; memset(_viewports, 0, sizeof(_viewports)); _active_viewports = 0; + _no_scroll = 0; } static void DecreaseWindowCounters(void) |