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 /aircraft_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 'aircraft_gui.c')
-rw-r--r-- | aircraft_gui.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/aircraft_gui.c b/aircraft_gui.c index 0a8191b01..192aa1903 100644 --- a/aircraft_gui.c +++ b/aircraft_gui.c @@ -151,7 +151,7 @@ static void NewAircraftWndProc(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; memcpy(_decode_parameters, b, 32); @@ -506,7 +506,7 @@ change_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); |