Author: cwittich
Date: Tue Mar 17 15:14:13 2015
New Revision: 66755
URL:
http://svn.reactos.org/svn/reactos?rev=66755&view=rev
Log:
[SHELL32]
use 16x16 icons instead of scaled down 32x32 icons in openwithmenu
CORE-9379
Modified:
trunk/reactos/dll/win32/shell32/COpenWithMenu.cpp
Modified: trunk/reactos/dll/win32/shell32/COpenWithMenu.cpp
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/shell32/COpenWit…
==============================================================================
--- trunk/reactos/dll/win32/shell32/COpenWithMenu.cpp [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/shell32/COpenWithMenu.cpp [iso-8859-1] Tue Mar 17 15:14:13
2015
@@ -211,7 +211,7 @@
WCHAR wszPath[MAX_PATH];
GetPathFromCmd(wszPath, pApp->wszCmd);
- pApp->hIcon = ExtractIconW(shell32_hInstance, wszPath, 0);
+ ExtractIconExW(wszPath, 0, NULL, &pApp->hIcon, 1);
}
TRACE("%ls icon: %p\n", pApp->wszFilename, pApp->hIcon);