mirror of
https://github.com/reactos/reactos.git
synced 2026-05-31 08:17:09 +08:00
[NOTEPAD] Use DestroyIcon instead of DeleteObject to destroy icon (#5130)
CORE-18837
This commit is contained in:
committed by
GitHub
parent
bc89074cd5
commit
139809b747
@@ -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);
|
||||
}
|
||||
|
||||
/***********************************************************************
|
||||
|
||||
Reference in New Issue
Block a user