oleview: Remove useless check for hPrevInst.
Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
This commit is contained in:
parent
e10db2f22e
commit
65187a0b99
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue