PrivateExtractIconsA in InternalExtractIcon16

Uwe Bonnes bon at elektron.ikp.physik.tu-darmstadt.de
Wed Dec 11 09:15:29 CST 2002


Changelog:
	shell32/shell.c: InternalExtractIcon16
	Expect the return values of PrivateExtractIcons as given in MSDN
-- 
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/shell32/shell.c
===================================================================
RCS file: /home/wine/wine/dlls/shell32/shell.c,v
retrieving revision 1.51
diff -u -w -r1.51 shell.c
--- wine/dlls/shell32/shell.c	21 Nov 2002 23:56:42 -0000	1.51
+++ wine/dlls/shell32/shell.c	11 Dec 2002 15:05:29 -0000
@@ -267,7 +267,7 @@
                                         GetSystemMetrics(SM_CXICON),
                                         GetSystemMetrics(SM_CYICON),
                                         icons, 0, n, 0 );
-            if (!res)
+            if ((res != 0xffffffff) && (res))
             {
                 int i;
                 for (i = 0; i < n; i++) RetPtr[i] = HICON_16(icons[i]);



More information about the wine-patches mailing list