From 2fb453a4a59be2fe29492704a1e45ea93cd7307e Mon Sep 17 00:00:00 2001 From: tron Date: Sun, 6 Feb 2005 18:30:45 +0000 Subject: (svn r1827) Next iteration of the byte -> char transition: some string drawing functions and buffers --- misc_gui.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'misc_gui.c') 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) { -- cgit v1.2.3-54-g00ecf