Handle bordercase ins dpa_search
Uwe Bonnes
bon at elektron.ikp.physik.tu-darmstadt.de
Thu May 15 12:34:50 CDT 2003
Changelog:
dlls/comctl32/comctl32undoc.c: DPA_Search
Handle DPAS_INSERTBEFORE on empty list
--
Uwe Bonnes bon at 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;
}
More information about the wine-patches
mailing list