Commit 8abef9ea authored by Andrew Talbot's avatar Andrew Talbot Committed by Alexandre Julliard

winhelp: Write-strings warning fix.

parent aa57a0b9
...@@ -164,11 +164,12 @@ int PASCAL WinMain(HINSTANCE hInstance, HINSTANCE prev, LPSTR cmdline, int show) ...@@ -164,11 +164,12 @@ int PASCAL WinMain(HINSTANCE hInstance, HINSTANCE prev, LPSTR cmdline, int show)
MSG msg; MSG msg;
LONG lHash = 0; LONG lHash = 0;
HLPFILE* hlpfile; HLPFILE* hlpfile;
char* wndname = "main"; static CHAR default_wndname[] = "main";
LPSTR wndname = default_wndname;
WINHELP_DLL* dll; WINHELP_DLL* dll;
Globals.hInstance = hInstance; Globals.hInstance = hInstance;
/* Get options */ /* Get options */
while (*cmdline && (*cmdline == ' ' || *cmdline == '-')) while (*cmdline && (*cmdline == ' ' || *cmdline == '-'))
{ {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment