mirror of
https://github.com/notepad-plus-plus/notepad-plus-plus.git
synced 2025-07-26 23:34:44 +02:00
Make LoadIcon error message more clear
This commit is contained in:
parent
46c5a0c226
commit
3ee5ef0205
@ -54,7 +54,7 @@ void IconList::addIcon(int iconID, int cx, int cy, int failIconID) const
|
|||||||
int userAnswer = 0;
|
int userAnswer = 0;
|
||||||
if (!ignoreWarning)
|
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;
|
ignoreWarning = userAnswer == IDYES;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user