summaryrefslogtreecommitdiff
path: root/core/launcher/qprocess.cpp
Side-by-side diff
Diffstat (limited to 'core/launcher/qprocess.cpp') (more/less context) (show whitespace changes)
-rw-r--r--core/launcher/qprocess.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/launcher/qprocess.cpp b/core/launcher/qprocess.cpp
index 3fe1238..aef7967 100644
--- a/core/launcher/qprocess.cpp
+++ b/core/launcher/qprocess.cpp
@@ -362,25 +362,25 @@ QString QProcess::readLineStderr()
QByteArray a;
QString s;
if ( scanNewline( FALSE, &a ) ) {
if ( a.isEmpty() )
s = "";
else
s = QString( a );
}
return s;
}
/*!
- This private function scans for any occurrence of \n or \r\n in the
+ This private function scans for any occurrence of \\n or \\r\\n in the
buffer \e buf. It stores the text in the byte array \a store if it is
non-null.
*/
bool QProcess::scanNewline( bool stdOut, QByteArray *store )
{
QByteArray *buf;
if ( stdOut )
buf = bufStdout();
else
buf = bufStderr();
uint n = buf->size();
uint i;