Re: Use environment variable WINE_NO_MENU_ENTRIES to prevent menu icon and menu entry creation.
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. -- By by ... Detlef
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.
participants (2)
-
Christoph Korn -
Detlef Riekenberg