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 --- player_gui.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'player_gui.c') 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; -- cgit v1.2.3-54-g00ecf