summaryrefslogtreecommitdiff
path: root/roadveh_gui.c
diff options
context:
space:
mode:
authortron <tron@openttd.org>2005-02-06 18:30:45 +0000
committertron <tron@openttd.org>2005-02-06 18:30:45 +0000
commitc644e6b742eb14185fec50fa5a8918e6d4cc41a0 (patch)
treebd9ddff4e0a96d3d0b9feb95bcb7667184e63060 /roadveh_gui.c
parent85dc9fb637ffb4c4b476f1ca15a5b0461078dd82 (diff)
downloadopenttd-c644e6b742eb14185fec50fa5a8918e6d4cc41a0.tar.xz
(svn r1827) Next iteration of the byte -> char transition: some string drawing functions and buffers
Diffstat (limited to 'roadveh_gui.c')
-rw-r--r--roadveh_gui.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/roadveh_gui.c b/roadveh_gui.c
index 4a8128d4e..d5b5d28da 100644
--- a/roadveh_gui.c
+++ b/roadveh_gui.c
@@ -160,7 +160,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);
@@ -431,7 +431,7 @@ static void NewRoadVehWndProc(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);