Marcus Meissner : oleview: Fixed bad error check.
Alexandre Julliard
julliard at winehq.org
Tue Sep 8 08:54:10 CDT 2009
Module: wine
Branch: master
Commit: 5006da3bb76371fd9d040ff4ba584a92510c2dfc
URL: http://source.winehq.org/git/wine.git/?a=commit;h=5006da3bb76371fd9d040ff4ba584a92510c2dfc
Author: Marcus Meissner <marcus at jet.franken.de>
Date: Fri Sep 4 22:42:47 2009 +0200
oleview: Fixed bad error check.
---
programs/oleview/pane.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/programs/oleview/pane.c b/programs/oleview/pane.c
index 20c2fd6..6418cf7 100644
--- a/programs/oleview/pane.c
+++ b/programs/oleview/pane.c
@@ -151,7 +151,7 @@ BOOL CreatePanedWindow(HWND hWnd, HWND *hWndCreated, HINSTANCE hInst)
pane = HeapAlloc(GetProcessHeap(), 0, sizeof(PANE));
*hWndCreated = CreateWindow(wszPaneClass, NULL, WS_CHILD|WS_VISIBLE,
CW_USEDEFAULT, CW_USEDEFAULT, 0, 0, hWnd, (HMENU)pane, hInst, NULL);
- if(!hWndCreated)
+ if(!*hWndCreated)
{
HeapFree(GetProcessHeap(), 0, pane);
return FALSE;
More information about the wine-cvs
mailing list