GetNextDlgTabItem fix take 2
Rein Klazes
rklazes at xs4all.nl
Wed Nov 5 08:19:47 CST 2003
hi,
I miscounted the arguments, sorry. This still fixes the crash in PSP 7.
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 15:12:49.000000000 +0100
@@ -1476,7 +1476,7 @@
if(!retWnd)
retWnd = DIALOG_GetNextTabItem(hwndMain,hwndMain,NULL,fPrevious );
}
- return retWnd;
+ return retWnd ? retWnd : hwndCtrl;
}
/***********************************************************************
More information about the wine-patches
mailing list