[3/4] programs/oleview: Remove useless check for hPrevInst.
Dmitry Timoshkov
dmitry at baikal.ru
Wed Oct 7 05:27:37 CDT 2015
Signed-off-by: Dmitry Timoshkov <dmitry at baikal.ru>
---
programs/oleview/oleview.c | 9 +++------
1 file changed, 3 insertions(+), 6 deletions(-)
diff --git a/programs/oleview/oleview.c b/programs/oleview/oleview.c
index 5a11888..350f6ad 100644
--- a/programs/oleview/oleview.c
+++ b/programs/oleview/oleview.c
@@ -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;
--
2.6.0
More information about the wine-patches
mailing list