Now really doesn't crash :)
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@1219 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
parent
6f439d3c7b
commit
952b43d923
1 changed files with 2 additions and 2 deletions
|
@ -402,7 +402,7 @@ int CEXEBuild::add_string_main(const char *string, int process) // returns offse
|
|||
int idx = -1;
|
||||
char *cp = strdup(string+2);
|
||||
char *p = strchr(cp, ')');
|
||||
if (*p) {
|
||||
if (p) {
|
||||
*p = 0;
|
||||
if (build_userlangstrings->find(cp, 0, &idx) < 0) idx = -1;
|
||||
}
|
||||
|
@ -424,7 +424,7 @@ int CEXEBuild::add_string_uninst(const char *string, int process) // returns off
|
|||
int idx = -1;
|
||||
char *cp = strdup(string+2);
|
||||
char *p = strchr(cp, ')');
|
||||
if (*p) {
|
||||
if (p) {
|
||||
*p = 0;
|
||||
if (ubuild_userlangstrings->find(cp, 0, &idx) < 0) idx = -1;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue