fix some bugs

svn path=/trunk/; revision=29264
This commit is contained in:
Christoph von Wittich 2007-09-28 00:12:59 +00:00
parent b6ebc1b19c
commit e539947c94

View file

@ -54,10 +54,10 @@ PropSheetExtProc(PSP_PROPSHEETPAGE_REQUEST PropPageRequest, LPFNADDPROPSHEETPAGE
PropSheetPage.pfnDlgProc = ProcessorDlgProc;
hPropSheetPage = CreatePropertySheetPage(&PropSheetPage);
if(hPropSheetPage)
if(!hPropSheetPage)
return FALSE;
if(!(*fAddFunc)(hPropSheetPage, lParam)) {
if(!(fAddFunc)(hPropSheetPage, lParam)) {
DestroyPropertySheetPage (hPropSheetPage);
return FALSE;
}