https://git.reactos.org/?p=reactos.git;a=commitdiff;h=139809b747aed5f0afc347...
commit 139809b747aed5f0afc34734d5703845efbcd435 Author: Katayama Hirofumi MZ katayama.hirofumi.mz@gmail.com AuthorDate: Thu Mar 9 08:24:19 2023 +0900 Commit: GitHub noreply@github.com CommitDate: Thu Mar 9 08:24:19 2023 +0900
[NOTEPAD] Use DestroyIcon instead of DeleteObject to destroy icon (#5130)
CORE-18837 --- base/applications/notepad/dialog.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/base/applications/notepad/dialog.c b/base/applications/notepad/dialog.c index be7f1148b69..345f76a9fbd 100644 --- a/base/applications/notepad/dialog.c +++ b/base/applications/notepad/dialog.c @@ -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); }
/***********************************************************************