http://git.etersoft.ru/projects
/
wine
/
eterwine.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c440322
)
regedit: Display a larger icon in the About box.
author
Alexandre Julliard
<julliard@winehq.org>
Tue, 25 Mar 2008 15:14:35 +0000
(16:14 +0100)
committer
Alexandre Julliard
<julliard@winehq.org>
Tue, 25 Mar 2008 15:14:35 +0000
(16:14 +0100)
programs/regedit/about.c
patch
|
blob
|
blame
|
history
diff --git
a/programs/regedit/about.c
b/programs/regedit/about.c
index 7258a4dd28a431a33e9fbd97dda6541e35e8aecd..89960ad64c87a9e964cdfc3416be4628c77f51b3 100644
(file)
--- a/
programs/regedit/about.c
+++ b/
programs/regedit/about.c
@@
-28,7
+28,8
@@
void ShowAboutBox(HWND hWnd)
{
- TCHAR title[64];
- LoadString(hInst, IDS_APP_TITLE, title, COUNT_OF(title));
- ShellAbout(hWnd, title, _T(""), LoadIcon(hInst, MAKEINTRESOURCE(IDI_REGEDIT)));
+ WCHAR title[64];
+ HICON icon = LoadImageW( hInst, MAKEINTRESOURCEW(IDI_REGEDIT), IMAGE_ICON, 48, 48, LR_SHARED );
+ LoadStringW(hInst, IDS_APP_TITLE, title, COUNT_OF(title));
+ ShellAboutW(hWnd, title, NULL, icon);
}