Alexandre Julliard : notepad: Use the larger icon in the About dialog.

Alexandre Julliard julliard at winehq.org
Sat Mar 22 08:18:32 CDT 2008


Module: wine
Branch: master
Commit: 247754fba21bf87ded04ccc038b0a69a125f0895
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=247754fba21bf87ded04ccc038b0a69a125f0895

Author: Alexandre Julliard <julliard at winehq.org>
Date:   Fri Mar 21 18:39:31 2008 +0100

notepad: Use the larger icon in the About dialog.

---

 programs/notepad/dialog.c |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/programs/notepad/dialog.c b/programs/notepad/dialog.c
index ea469c1..2e75076 100644
--- a/programs/notepad/dialog.c
+++ b/programs/notepad/dialog.c
@@ -783,9 +783,10 @@ VOID DIALOG_HelpNoWarranty(VOID)
 
 VOID DIALOG_HelpAboutWine(VOID)
 {
-    static const WCHAR notepadW[] = { 'N','o','t','e','p','a','d','\n',0 };
+    static const WCHAR notepadW[] = { 'W','i','n','e',' ','N','o','t','e','p','a','d',0 };
     WCHAR szNotepad[MAX_STRING_LEN];
-    HICON icon = LoadIcon(Globals.hInstance, MAKEINTRESOURCE(IDI_NOTEPAD));
+    HICON icon = LoadImageW( Globals.hInstance, MAKEINTRESOURCE(IDI_NOTEPAD),
+                             IMAGE_ICON, 48, 48, LR_SHARED );
 
     LoadString(Globals.hInstance, STRING_NOTEPAD, szNotepad, SIZEOF(szNotepad));
     ShellAbout(Globals.hMainWnd, szNotepad, notepadW, icon);




More information about the wine-cvs mailing list