summaryrefslogtreecommitdiff
path: root/window.h
diff options
context:
space:
mode:
authortron <tron@openttd.org>2005-02-19 14:40:32 +0000
committertron <tron@openttd.org>2005-02-19 14:40:32 +0000
commit05490e0556f8055571ef5f26590551debe26decd (patch)
tree0f94b7975875f6d3b02ccaa18c25546631124d6c /window.h
parent5e86b2ff9b726378bbd2dec7e408aabae1d2a44e (diff)
downloadopenttd-05490e0556f8055571ef5f26590551debe26decd.tar.xz
(svn r1890) Begin to clean up the edit box: Remove one global variable and split the combined edit/original buffer into two
Diffstat (limited to 'window.h')
-rw-r--r--window.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/window.h b/window.h
index 0bfec56d7..59b91897a 100644
--- a/window.h
+++ b/window.h
@@ -229,6 +229,7 @@ typedef struct {
WindowNumber wnd_num;
uint16 maxlen, maxwidth;
char *buf;
+ const char* orig;
} querystr_d;
#define WP(ptr,str) (*(str*)(ptr)->custom)