(svn r1890) Begin to clean up the edit box: Remove one global variable and split the combined edit/original buffer into two

This commit is contained in:
tron
2005-02-19 14:40:32 +00:00
parent bf5e0c10ce
commit 2de3dc2735
4 changed files with 19 additions and 24 deletions

View File

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