fixed so it would compile :)

git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@1220 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
justin1014 2002-09-30 02:08:59 +00:00
parent 952b43d923
commit 3a4a61daf1

View file

@ -404,7 +404,7 @@ int CEXEBuild::add_string_main(const char *string, int process) // returns offse
char *p = strchr(cp, ')');
if (p) {
*p = 0;
if (build_userlangstrings->find(cp, 0, &idx) < 0) idx = -1;
if (build_userlangstrings.find(cp, 0, &idx) < 0) idx = -1;
}
free(cp);
if (idx >= 0) return -(idx+1);
@ -426,7 +426,7 @@ int CEXEBuild::add_string_uninst(const char *string, int process) // returns off
char *p = strchr(cp, ')');
if (p) {
*p = 0;
if (ubuild_userlangstrings->find(cp, 0, &idx) < 0) idx = -1;
if (ubuild_userlangstrings.find(cp, 0, &idx) < 0) idx = -1;
}
free(cp);
if (idx >= 0) return -(idx+1);