Avoid crash in SWP_DoOwnedPopups

Dominik Strasser dominik.strasser at mchp.siemens.de
Wed Feb 28 09:40:09 CST 2001


This patch fixes a problem in the manager software for the Siemens IC35
organizer.
Unfortunately it doesn't work yet. I still have some more problems.
More unfortunately since today almost nothing works any more. With
friday's cvs at least the menus worked.
Anybody who wants to help can contact me where to download the app.
The installer doesn't work, too so I have to use the version installed
on my Win2K.

Changelog:
	* windows/winpos.c
	Dominik Straßer <dominik.strasser at mchp.siemens.de>
	Avoid crash (at end of list ?)

-- 
Dominik Strasser	| Phone:  +49 89 636-43691
SIEMENS AG		| Fax:    +49 89 636-42284
CT SE 4			| E-Mail:Dominik.Strasser at mchp.siemens.de
Otto-Hahn-Ring 6	|
D-81739 Muenchen	| Room: 53-263
-------------- next part --------------
--- winpos.c	Wed Feb 28 10:01:22 2001
+++ winpos.c.old	Wed Feb 28 16:15:25 2001
@@ -2195,7 +2195,7 @@
 
 	if( hwndInsertAfter != HWND_TOP )
 	{
-	    while( w && w != wndPtr->owner )
+	    while( w != wndPtr->owner )
 	    {
 		if (w != wndPtr) hwndLocalPrev = w->hwndSelf;
 		if( hwndLocalPrev == hwndInsertAfter ) break;


More information about the wine-patches mailing list