GetNextDlgTabItem fix
Rein Klazes
rklazes at xs4all.nl
Wed Nov 5 05:21:36 CST 2003
hi,
This fixes a crash in Paint Shop Pro 7.
About GetNextDlgTabItem() msdn says:
".... If no such control exists, the function returns hCtl"
Changelog:
windows : dialog.c
If GetNextDlgTabItem() cannot find any next control, return the
handle of the original control.
Rein.
--
Rein Klazes
rklazes at xs4all.nl
-------------- next part --------------
--- wine/windows/dialog.c 2003-10-06 23:03:32.000000000 +0200
+++ mywine/windows/dialog.c 2003-11-05 12:11:01.000000000 +0100
@@ -1476,7 +1476,7 @@
if(!retWnd)
retWnd = DIALOG_GetNextTabItem(hwndMain,hwndMain,NULL,fPrevious );
}
- return retWnd;
+ return retWnd ? retWnd : hwndDlg;
}
/***********************************************************************
More information about the wine-patches
mailing list