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 --- train_gui.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'train_gui.c') diff --git a/train_gui.c b/train_gui.c index 85a5e8ee0..91db42a52 100644 --- a/train_gui.c +++ b/train_gui.c @@ -219,7 +219,7 @@ static void NewRailVehicleWndProc(Window *w, WindowEvent *e) break; case WE_ON_EDIT_TEXT: { - byte *b = e->edittext.str; + const char *b = e->edittext.str; if (*b == 0) return; @@ -1180,7 +1180,7 @@ do_change_service_int: break; case WE_ON_EDIT_TEXT: { - byte *b = e->edittext.str; + const char *b = e->edittext.str; if (*b == 0) return; memcpy(_decode_parameters, b, 32); -- cgit v1.2.3-54-g00ecf