Use environment variable WINE_NO_MENU_ENTRIES to prevent menu icon and menu entry creation.
Christoph Korn
c_korn at gmx.de
Fri Feb 6 09:22:16 CST 2009
Thank you.
I have fixed it and resent the patch to wine-patches.
Also I have shortened the environment variable to WINENME.
Christoph Korn
Detlef Riekenberg schrieb:
> On Do, 2009-02-05 at 18:02 +0100, Christoph Korn wrote:
>> int PASCAL WinMain (HINSTANCE hInstance, HINSTANCE prev, LPSTR
>> cmdline, int show)
>> {
>> + if(getenv("WINE_NO_MENU_ENTRIES"))
>> + {
>> + return 0;
>> + }
>> +
>> LPSTR token = NULL, p;
>
> Declaring a variable after code is C99 and not allowed in Wine.
>
More information about the wine-devel
mailing list