Handle bordercase ins dpa_search

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

 



Changelog:
	dlls/comctl32/comctl32undoc.c: DPA_Search
	Handle DPAS_INSERTBEFORE on empty list
-- 
Uwe Bonnes                bon@elektron.ikp.physik.tu-darmstadt.de

Institut fuer Kernphysik  Schlossgartenstrasse 9  64289 Darmstadt
--------- Tel. 06151 162516 -------- Fax. 06151 164321 ----------
Index: wine/dlls/comctl32/comctl32undoc.c
===================================================================
RCS file: /home/wine/wine/dlls/comctl32/comctl32undoc.c,v
retrieving revision 1.77
diff -u -r1.77 comctl32undoc.c
--- wine/dlls/comctl32/comctl32undoc.c	18 Mar 2003 18:35:49 -0000	1.77
+++ wine/dlls/comctl32/comctl32undoc.c	3 May 2003 11:40:01 -0000
@@ -2179,6 +2179,7 @@
 	}
 
 	if (uOptions & DPAS_INSERTBEFORE) {
+	    r = (r == -1)? 0 : r;
 	    TRACE("-- ret=%d\n", r);
 	    return r;
 	}


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

  Powered by Linux