mirror of
https://github.com/reactos/reactos.git
synced 2025-08-06 06:43:13 +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));
|
LoadString(Globals.hInstance, STRING_NOTEPAD_AUTHORS, szNotepadAuthors, ARRAY_SIZE(szNotepadAuthors));
|
||||||
|
|
||||||
ShellAbout(Globals.hMainWnd, szNotepad, szNotepadAuthors, notepadIcon);
|
ShellAbout(Globals.hMainWnd, szNotepad, szNotepadAuthors, notepadIcon);
|
||||||
DeleteObject(notepadIcon);
|
DestroyIcon(notepadIcon);
|
||||||
}
|
}
|
||||||
|
|
||||||
/***********************************************************************
|
/***********************************************************************
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue