Dmitry Timoshkov : oleview: Remove useless check for hPrevInst.
Alexandre Julliard
julliard at wine.codeweavers.com
Wed Oct 7 10:00:48 CDT 2015
Module: wine
Branch: master
Commit: 65187a0b9997a8251b5853e1df9dff418282a42b
URL: http://source.winehq.org/git/wine.git/?a=commit;h=65187a0b9997a8251b5853e1df9dff418282a42b
Author: Dmitry Timoshkov <dmitry at baikal.ru>
Date: Wed Oct 7 18:27:37 2015 +0800
oleview: Remove useless check for hPrevInst.
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;
More information about the wine-cvs
mailing list