Typo in exticon.c

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

 



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;



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

  Powered by Linux