ChangeUI prints nicer error messages
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@746 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
parent
883d1f9f9b
commit
e0fc150712
1 changed files with 1 additions and 1 deletions
|
@ -1042,7 +1042,7 @@ int CEXEBuild::doCommand(int which_token, LineParser &line, FILE *fp, const char
|
||||||
|
|
||||||
HINSTANCE hUIFile = LoadLibraryEx(line.gettoken_str(2), 0, LOAD_LIBRARY_AS_DATAFILE);
|
HINSTANCE hUIFile = LoadLibraryEx(line.gettoken_str(2), 0, LOAD_LIBRARY_AS_DATAFILE);
|
||||||
if (!hUIFile) {
|
if (!hUIFile) {
|
||||||
ERROR_MSG("Error: Can't find \"%s\"!\n", line.gettoken_str(1));
|
ERROR_MSG("Error: Can't find \"%s\" in \"%s\"!\n", line.gettoken_str(1), line.gettoken_str(2));
|
||||||
return PS_ERROR;
|
return PS_ERROR;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue