summaryrefslogtreecommitdiff
path: root/window.h
diff options
context:
space:
mode:
authorDarkvater <darkvater@openttd.org>2006-12-30 01:17:53 +0000
committerDarkvater <darkvater@openttd.org>2006-12-30 01:17:53 +0000
commitc87fcab77216fa2a3c8a5a334c32099665b1241d (patch)
tree4ef6719359384448b5674c8f954ba1a88987d16d /window.h
parented2c8ecef5f2a6d62273ebccf0f82bad1f73ea4a (diff)
downloadopenttd-c87fcab77216fa2a3c8a5a334c32099665b1241d.tar.xz
(svn r7637) -Codechange: Change ShowQueryString to use a window pointer as a parent. If the
query has no parent (eg give money, rename waypoint), the global function HandleOnEditText is used.
Diffstat (limited to 'window.h')
-rw-r--r--window.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/window.h b/window.h
index c3bb043f2..877bf9443 100644
--- a/window.h
+++ b/window.h
@@ -342,11 +342,10 @@ struct Window {
typedef struct querystr_d {
StringID caption;
- WindowClass wnd_class;
- WindowNumber wnd_num;
Textbuf text;
const char *orig;
CharSetFilter afilter;
+ bool handled;
} querystr_d;
assert_compile(WINDOW_CUSTOM_SIZE >= sizeof(querystr_d));