mirror of
https://github.com/reactos/reactos.git
synced 2025-02-22 08:25:03 +00:00
[NOTEPAD] Use DestroyIcon instead of DeleteObject to destroy icon (#5130)
CORE-18837
This commit is contained in:
parent
bc89074cd5
commit
139809b747
1 changed files with 1 additions and 1 deletions
|
@ -1413,7 +1413,7 @@ VOID DIALOG_HelpAboutNotepad(VOID)
|
|||
LoadString(Globals.hInstance, STRING_NOTEPAD_AUTHORS, szNotepadAuthors, ARRAY_SIZE(szNotepadAuthors));
|
||||
|
||||
ShellAbout(Globals.hMainWnd, szNotepad, szNotepadAuthors, notepadIcon);
|
||||
DeleteObject(notepadIcon);
|
||||
DestroyIcon(notepadIcon);
|
||||
}
|
||||
|
||||
/***********************************************************************
|
||||
|
|
Loading…
Reference in a new issue