no message
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@635 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
parent
c97a1b79c9
commit
66a5c65075
1 changed files with 1 additions and 0 deletions
|
@ -40,6 +40,7 @@ NLF::NLF(char *filename) {
|
||||||
wsprintf(buf, "String too long (string #%d)!", i);
|
wsprintf(buf, "String too long (string #%d)!", i);
|
||||||
throw runtime_error(buf);
|
throw runtime_error(buf);
|
||||||
}
|
}
|
||||||
|
StrTrim(buf, "\r\n\0");
|
||||||
m_szStrings[i] = new char[lstrlen(buf)+1];
|
m_szStrings[i] = new char[lstrlen(buf)+1];
|
||||||
lstrcpy(m_szStrings[i], buf);
|
lstrcpy(m_szStrings[i], buf);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue