Make LoadIcon error message more clear

pull/15333/head
Don Ho 2024-06-20 21:36:58 +02:00
parent 46c5a0c226
commit 3ee5ef0205
1 changed files with 1 additions and 1 deletions

View File

@ -54,7 +54,7 @@ void IconList::addIcon(int iconID, int cx, int cy, int failIconID) const
int userAnswer = 0;
if (!ignoreWarning)
{
userAnswer = ::MessageBoxA(NULL, "IconList::addIcon : LoadIcon() function return null.\nIgnore warning?", std::to_string(iconID).c_str(), MB_YESNOCANCEL | MB_ICONWARNING);
userAnswer = ::MessageBoxA(NULL, "IconList::addIcon : LoadIcon() function return null.\nIgnore the error?\n\n\"Yes\": ignore the error and launch Notepad++\n\"No\": Quit Notepad++\n\"Cancel\": display all errors", std::to_string(iconID).c_str(), MB_YESNOCANCEL | MB_ICONWARNING);
ignoreWarning = userAnswer == IDYES;
}