mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 01:55:19 +00:00
parent
ed03768b1b
commit
3615e7c122
1 changed files with 2 additions and 4 deletions
|
@ -900,11 +900,9 @@ VOID DIALOG_HelpAboutNotepad(VOID)
|
|||
TCHAR szNotepad[MAX_STRING_LEN];
|
||||
TCHAR szNotepadAuthors[MAX_STRING_LEN];
|
||||
|
||||
HICON notepadIcon = LoadIcon(Globals.hInstance, MAKEINTRESOURCE(IDI_NPICON));
|
||||
|
||||
LoadString(Globals.hInstance, STRING_NOTEPAD, szNotepad, ARRAY_SIZE(szNotepad));
|
||||
LoadString(Globals.hInstance, STRING_NOTEPAD_AUTHORS, szNotepadAuthors, ARRAY_SIZE(szNotepadAuthors));
|
||||
|
||||
ShellAbout(Globals.hMainWnd, szNotepad, szNotepadAuthors, notepadIcon);
|
||||
DestroyIcon(notepadIcon);
|
||||
ShellAbout(Globals.hMainWnd, szNotepad, szNotepadAuthors,
|
||||
LoadIcon(Globals.hInstance, MAKEINTRESOURCE(IDI_NPICON)));
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue