GetNextDlgTabItem fix take 2

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxx
--- 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;
 }
 
 /***********************************************************************

[Index of Archives]     [Gimp for Windows]     [Red Hat]     [Samba]     [Yosemite Camping]     [Graphics Cards]     [Wine Home]

  Powered by Linux