Author: cazfi Date: Tue Apr 28 19:05:19 2015 New Revision: 28941 URL: http://svn.gna.org/viewcvs/freeciv?rev=28941&view=rev Log: Fixed sdl-clients' crash when changing player.
See bug #23540 Modified: branches/S2_4/client/gui-sdl/messagewin.c Modified: branches/S2_4/client/gui-sdl/messagewin.c URL: http://svn.gna.org/viewcvs/freeciv/branches/S2_4/client/gui-sdl/messagewin.c?rev=28941&r1=28940&r2=28941&view=diff ============================================================================== --- branches/S2_4/client/gui-sdl/messagewin.c (original) +++ branches/S2_4/client/gui-sdl/messagewin.c Tue Apr 28 19:05:19 2015 @@ -102,6 +102,10 @@ SDL_Rect area = {0, 0, 0, 0}; bool create; int label_width; + + if (pMsg_Dlg == NULL) { + meswin_dialog_popup(TRUE); + } msg_count = meswin_get_num_messages(); current_count = pMsg_Dlg->pScroll->count; _______________________________________________ Freeciv-commits mailing list Freeciv-commits@gna.org https://mail.gna.org/listinfo/freeciv-commits