Module: wine Branch: master Commit: 0dbeea527512b7105adb9dc1eb5f4f8db19ae6c1 URL: http://source.winehq.org/git/wine.git/?a=commit;h=0dbeea527512b7105adb9dc1eb...
Author: Alexandre Julliard julliard@winehq.org Date: Fri Mar 21 18:39:11 2008 +0100
shell32: Use the larger Wine logo icon in the About dialog.
---
dlls/shell32/shell32_main.c | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/dlls/shell32/shell32_main.c b/dlls/shell32/shell32_main.c index 870e5e6..4163168 100644 --- a/dlls/shell32/shell32_main.c +++ b/dlls/shell32/shell32_main.c @@ -1088,9 +1088,10 @@ BOOL WINAPI ShellAboutW( HWND hWnd, LPCWSTR szApp, LPCWSTR szOtherStuff, return FALSE; if(!(template = LoadResource(shell32_hInstance, hRes))) return FALSE; + if (!hIcon) hIcon = LoadImageW( 0, (LPWSTR)IDI_WINLOGO, IMAGE_ICON, 48, 48, LR_SHARED ); info.szApp = szApp; info.szOtherStuff = szOtherStuff; - info.hIcon = hIcon ? hIcon : LoadIconW( 0, (LPWSTR)IDI_WINLOGO ); + info.hIcon = hIcon;
SystemParametersInfoW( SPI_GETICONTITLELOGFONT, 0, &logFont, 0 ); info.hFont = CreateFontIndirectW( &logFont );