Warning icon for 'validation error' MessageBox
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2309 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
parent
39135e4daa
commit
6241cec9a4
2 changed files with 2 additions and 2 deletions
|
@ -294,7 +294,7 @@ bool ValidateFields() {
|
|||
if (((pFields[nIdx].nMaxLength > 0) && (nLength > pFields[nIdx].nMaxLength)) ||
|
||||
((pFields[nIdx].nMinLength > 0) && (nLength < pFields[nIdx].nMinLength))) {
|
||||
if (pFields[nIdx].pszValidateText) {
|
||||
MessageBox(hConfigWindow, pFields[nIdx].pszValidateText, NULL, MB_OK);
|
||||
MessageBox(hConfigWindow, pFields[nIdx].pszValidateText, NULL, MB_OK|MB_ICONWARNING);
|
||||
}
|
||||
SetFocus(pFields[nIdx].hwnd);
|
||||
return false;
|
||||
|
|
Binary file not shown.
Loading…
Add table
Add a link
Reference in a new issue