Author: cazfi
Date: Fri Apr 24 00:25:27 2015
New Revision: 28855

URL: http://svn.gna.org/viewcvs/freeciv?rev=28855&view=rev
Log:
Fixed crash on sdl2-client chat input widget opening.

See bug #23514

Modified:
    trunk/client/gui-sdl2/chatline.c

Modified: trunk/client/gui-sdl2/chatline.c
URL: 
http://svn.gna.org/viewcvs/freeciv/trunk/client/gui-sdl2/chatline.c?rev=28855&r1=28854&r2=28855&view=diff
==============================================================================
--- trunk/client/gui-sdl2/chatline.c    (original)
+++ trunk/client/gui-sdl2/chatline.c    Fri Apr 24 00:25:27 2015
@@ -360,7 +360,7 @@
 {
   struct widget *pInput_Edit;
 
-  pInput_Edit = create_edit_from_chars(NULL, Main.gui, NULL, adj_font(12),
+  pInput_Edit = create_edit_from_chars(NULL, Main.gui, "", adj_font(12),
                                        adj_size(400), 0);
 
   pInput_Edit->size.x = (main_window_width() - pInput_Edit->size.w) / 2;


_______________________________________________
Freeciv-commits mailing list
Freeciv-commits@gna.org
https://mail.gna.org/listinfo/freeciv-commits

Reply via email to