Empty lines were not printed (this time it's really fixed)
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2794 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
parent
bf197d80e5
commit
fabf2f79ea
2 changed files with 1 additions and 2 deletions
|
@ -230,14 +230,13 @@ void ExecScript(int log) {
|
|||
|
||||
p = szUnusedBuf; // get the old left overs
|
||||
for (p2 = p; *p2; p2++) {
|
||||
if (*p == '\r' || *p == '\n')
|
||||
p++;
|
||||
if (*p2 == '\r') {
|
||||
*p2 = 0;
|
||||
continue;
|
||||
}
|
||||
if (*p2 == '\n') {
|
||||
*p2 = 0;
|
||||
while (!*p && p != p2) p++;
|
||||
LogMessage(p);
|
||||
p = p2 + 1;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue