oleview: Remove useless check for hPrevInst.

Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
oldstable
Dmitry Timoshkov 2015-10-07 18:27:37 +08:00 committed by Alexandre Julliard
parent e10db2f22e
commit 65187a0b99
1 changed files with 3 additions and 6 deletions

View File

@ -558,12 +558,9 @@ int APIENTRY WinMain(HINSTANCE hInst, HINSTANCE hPrevInst, LPSTR lpCmdLine, int
{
MSG msg;
HANDLE hAccelTable;
if(!hPrevInst)
{
if(!InitApplication(hInst))
return FALSE;
}
if(!InitApplication(hInst))
return FALSE;
if(!InitInstance(hInst, nCmdShow))
return FALSE;