Use environment variable WINE_NO_MENU_ENTRIES to prevent menu icon and menu entry creation.

Detlef Riekenberg wine.dev at web.de
Fri Feb 6 08:54:16 CST 2009


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





More information about the wine-devel mailing list