1
0
mirror of https://github.com/OpenTTD/OpenTTD.git synced 2025-08-29 01:19:11 +00:00

(svn r1827) Next iteration of the byte -> char transition: some string drawing functions and buffers

This commit is contained in:
tron
2005-02-06 18:30:45 +00:00
parent eb28e8b322
commit 2fb453a4a5
15 changed files with 34 additions and 32 deletions

View File

@@ -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);