<URL: http://bugs.freeciv.org/Ticket/Display.html?id=39621 >
> [EMAIL PROTECTED] - So 02. Sep 2007, 10:56:43]: > > On 02/09/07, Marko Lindqvist wrote: > > On 02/09/07, Christian Prochaska wrote: > > > > > > I couldn't reproduce the crash with current S2_1 or trunk. Does it still > > > crash for you? > > > > > > > Yes and no. I'm trying to figure out what circumstances are required > > to tricker the crash. > > I suspect it's matter of selling last building from city. > > > - ML > Yes, that's it. Patch attached.
Index: client/gui-sdl/citydlg.c =================================================================== --- client/gui-sdl/citydlg.c (revision 13460) +++ client/gui-sdl/citydlg.c (working copy) @@ -1474,7 +1474,8 @@ set_group_state(pCityDlg->pBeginCityWidgetList, pCityDlg->pEndCityWidgetList->prev, FC_WS_NORMAL); - if (pCityDlg->pImprv->pEndWidgetList) { + if (pCityDlg->pImprv->pEndActiveWidgetList) { + if (pCityDlg->pImprv->pScroll) { set_wstate(pCityDlg->pImprv->pScroll->pScrollBar, FC_WS_NORMAL); /* vscroll */ set_wstate(pCityDlg->pImprv->pScroll->pUp_Left_Button, FC_WS_NORMAL); /* up */
_______________________________________________ Freeciv-dev mailing list Freeciv-dev@gna.org https://mail.gna.org/listinfo/freeciv-dev