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:
kichik 2002-08-03 12:14:20 +00:00
parent c97a1b79c9
commit 66a5c65075

View file

@ -40,6 +40,7 @@ NLF::NLF(char *filename) {
wsprintf(buf, "String too long (string #%d)!", i);
throw runtime_error(buf);
}
StrTrim(buf, "\r\n\0");
m_szStrings[i] = new char[lstrlen(buf)+1];
lstrcpy(m_szStrings[i], buf);
}