Typo in exticon.c
Vitaliy Margolen
wine-patch at kievinfo.com
Sun Mar 9 02:12:22 CST 2003
Fix typo in PrivateExtractIconExW function in exticon.c - leads to crash.
Vitaliy Margolen
changelog:
dlls/user/exticon.c
- fix typo in PrivateExtractIconExW function
Index: dlls/user/exticon.c
===================================================================
RCS file: /home/wine/wine/dlls/user/exticon.c,v
retrieving revision 1.26
diff -u -r1.26 exticon.c
--- dlls/user/exticon.c 7 Jan 2003 20:36:23 -0000 1.26
+++ dlls/user/exticon.c 9 Mar 2003 07:51:15 -0000
@@ -669,12 +669,12 @@
ret = ICO_ExtractIconExW(lpwstrFile, phIconSmall, nIndex, nIcons, cxsmicon,
cysmicon, NULL, LR_DEFAULTCOLOR);
}
- if (phIconLarge )
+ if (phIconLarge)
{
/* extract n large icons */
cxicon = GetSystemMetrics(SM_CXICON);
cyicon = GetSystemMetrics(SM_CYICON);
- ret = ICO_ExtractIconExW(lpwstrFile, phIconSmall, nIndex, nIcons, cxicon,
+ ret = ICO_ExtractIconExW(lpwstrFile, phIconLarge, nIndex, nIcons, cxicon,
cyicon, NULL, LR_DEFAULTCOLOR);
}
return ret;
More information about the wine-patches
mailing list