(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.
This commit is contained in:
Darkvater
2006-12-30 01:17:53 +00:00
parent ed2c8ecef5
commit c87fcab772
18 changed files with 112 additions and 136 deletions

View File

@@ -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));