summaryrefslogtreecommitdiff
path: root/player_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
commit2fb453a4a59be2fe29492704a1e45ea93cd7307e (patch)
treebd9ddff4e0a96d3d0b9feb95bcb7667184e63060 /player_gui.c
parenteb28e8b32215aae0eef25a9ccada832955b34191 (diff)
downloadopenttd-2fb453a4a59be2fe29492704a1e45ea93cd7307e.tar.xz
(svn r1827) Next iteration of the byte -> char transition: some string drawing functions and buffers
Diffstat (limited to 'player_gui.c')
-rw-r--r--player_gui.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/player_gui.c b/player_gui.c
index 4e2b85466..dbe25ea34 100644
--- a/player_gui.c
+++ b/player_gui.c
@@ -639,7 +639,7 @@ static void PlayerCompanyWndProc(Window *w, WindowEvent *e)
break;
case WE_ON_EDIT_TEXT: {
- char *b = (char*)e->edittext.str;
+ char *b = e->edittext.str;
if (*b == 0 && WP(w,def_d).byte_1 != 2) // empty string is allowed for password
return;