Bug#691107: Possible fix

Fabian Greffrath fabian at greffrath.com
Wed Oct 24 07:33:22 UTC 2012


Am 23.10.2012 08:30, schrieb Ansgar Burchardt:
> I think the real problem is in menucontent.h.  The MENUENTRY variables
> are declared in a "if" block and are no longer valid outside the block,
> however mainMenu.entries ("opts" in atanks.cpp:1037) still has a pointer
> to them...

Declaring them all as "static" fixes the crashes for me. Please find a 
patch attached.

  - Fabian


-------------- next part --------------
A non-text attachment was scrubbed...
Name: static_menuentry.patch
Type: text/x-diff
Size: 23073 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-games-devel/attachments/20121024/4a2c33d2/attachment-0001.patch>


More information about the Pkg-games-devel mailing list