From e0fc1507123f27bcea3bdcd6f4f51dc0d2353e67 Mon Sep 17 00:00:00 2001 From: kichik Date: Mon, 26 Aug 2002 14:05:52 +0000 Subject: [PATCH] ChangeUI prints nicer error messages git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@746 212acab6-be3b-0410-9dea-997c60f758d6 --- Source/script.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/script.cpp b/Source/script.cpp index 8afb386c..78d6c756 100644 --- a/Source/script.cpp +++ b/Source/script.cpp @@ -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); 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; }