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
commit2de3dc273574b632b2a82dc512351d3f42f94cb2 (patch)
tree0f94b7975875f6d3b02ccaa18c25546631124d6c /window.h
parentbf5e0c10cea257c3dccc6691f889c5d50d6e4fbf (diff)
downloadopenttd-2de3dc273574b632b2a82dc512351d3f42f94cb2.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)