Jared Smudde : winemine: Load main icon in the about window.
Alexandre Julliard
julliard at wine.codeweavers.com
Fri Sep 25 15:22:02 CDT 2015
Module: wine
Branch: master
Commit: 3966affe064c7b98a7b4c052b6a6696fe74c8830
URL: http://source.winehq.org/git/wine.git/?a=commit;h=3966affe064c7b98a7b4c052b6a6696fe74c8830
Author: Jared Smudde <computerwhiz02 at hotmail.com>
Date: Thu Sep 24 21:13:46 2015 -0500
winemine: Load main icon in the about window.
---
programs/winemine/main.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/programs/winemine/main.c b/programs/winemine/main.c
index 91b2092..7ccae07 100644
--- a/programs/winemine/main.c
+++ b/programs/winemine/main.c
@@ -1003,7 +1003,7 @@ static LRESULT WINAPI MainProc( HWND hWnd, UINT msg, WPARAM wParam, LPARAM lPara
LoadStringW( board.hInst, IDS_APPNAME, appname, sizeof(appname)/sizeof(WCHAR) );
LoadStringW( board.hInst, IDS_ABOUT, other, sizeof(other)/sizeof(WCHAR) );
ShellAboutW( hWnd, appname, other,
- LoadImageA( board.hInst, "WINEMINE", IMAGE_ICON, 48, 48, LR_SHARED ));
+ LoadImageW(board.hInst, MAKEINTRESOURCEW(IDI_WINEMINE), IMAGE_ICON, 48, 48, LR_SHARED));
return 0;
}
default:
More information about the wine-cvs
mailing list