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
|
p = szUnusedBuf; // get the old left overs
|
||||||
for (p2 = p; *p2; p2++) {
|
for (p2 = p; *p2; p2++) {
|
||||||
if (*p == '\r' || *p == '\n')
|
|
||||||
p++;
|
|
||||||
if (*p2 == '\r') {
|
if (*p2 == '\r') {
|
||||||
*p2 = 0;
|
*p2 = 0;
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
if (*p2 == '\n') {
|
if (*p2 == '\n') {
|
||||||
*p2 = 0;
|
*p2 = 0;
|
||||||
|
while (!*p && p != p2) p++;
|
||||||
LogMessage(p);
|
LogMessage(p);
|
||||||
p = p2 + 1;
|
p = p2 + 1;
|
||||||
}
|
}
|
||||||
|
|
Binary file not shown.
Loading…
Add table
Add a link
Reference in a new issue