Check for newline
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@932 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
parent
e002bbbecc
commit
caa554dff9
2 changed files with 13 additions and 1 deletions
|
@ -149,6 +149,18 @@ int LogMessages(const char *pStr) {
|
||||||
else pStr = i+1;
|
else pStr = i+1;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
else if (my_strstr(pStr,"\n")) {
|
||||||
|
while (*pStr) {
|
||||||
|
char *i = my_strstr(pStr,"\n");
|
||||||
|
if (i==0) {
|
||||||
|
LogMessage(pStr);
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
*i=0;
|
||||||
|
LogMessage(pStr);
|
||||||
|
pStr = i+1;
|
||||||
|
}
|
||||||
|
}
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Binary file not shown.
Loading…
Add table
Add a link
Reference in a new issue