diff options
author | tron <tron@openttd.org> | 2005-02-06 18:30:45 +0000 |
---|---|---|
committer | tron <tron@openttd.org> | 2005-02-06 18:30:45 +0000 |
commit | 2fb453a4a59be2fe29492704a1e45ea93cd7307e (patch) | |
tree | bd9ddff4e0a96d3d0b9feb95bcb7667184e63060 /misc_gui.c | |
parent | eb28e8b32215aae0eef25a9ccada832955b34191 (diff) | |
download | openttd-2fb453a4a59be2fe29492704a1e45ea93cd7307e.tar.xz |
(svn r1827) Next iteration of the byte -> char transition: some string drawing functions and buffers
Diffstat (limited to 'misc_gui.c')
-rw-r--r-- | misc_gui.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/misc_gui.c b/misc_gui.c index 882e21d5c..6db7b61d7 100644 --- a/misc_gui.c +++ b/misc_gui.c @@ -901,7 +901,7 @@ press_ok:; !_do_edit_on_text_even_when_no_change_to_edit_box) { DeleteWindow(w); } else { - byte *buf = WP(w,querystr_d).buf; + char *buf = WP(w,querystr_d).buf; WindowClass wnd_class = WP(w,querystr_d).wnd_class; WindowNumber wnd_num = WP(w,querystr_d).wnd_num; Window *parent; @@ -978,7 +978,7 @@ static const WindowDesc _query_string_desc = { QueryStringWndProc }; -static byte _edit_str_buf[MAX_QUERYSTR_LEN*2]; +static char _edit_str_buf[MAX_QUERYSTR_LEN*2]; void ShowQueryString(StringID str, StringID caption, int maxlen, int maxwidth, byte window_class, uint16 window_number) { |