Commit 65187a0b authored by Dmitry Timoshkov's avatar Dmitry Timoshkov Committed by Alexandre Julliard

oleview: Remove useless check for hPrevInst.

parent e10db2f2
...@@ -558,12 +558,9 @@ int APIENTRY WinMain(HINSTANCE hInst, HINSTANCE hPrevInst, LPSTR lpCmdLine, int ...@@ -558,12 +558,9 @@ int APIENTRY WinMain(HINSTANCE hInst, HINSTANCE hPrevInst, LPSTR lpCmdLine, int
{ {
MSG msg; MSG msg;
HANDLE hAccelTable; HANDLE hAccelTable;
if(!hPrevInst) if(!InitApplication(hInst))
{ return FALSE;
if(!InitApplication(hInst))
return FALSE;
}
if(!InitInstance(hInst, nCmdShow)) if(!InitInstance(hInst, nCmdShow))
return FALSE; return FALSE;
......
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