Skip to content

Commit 4bbdce5

Browse files
author
wonder
committed
Fixed a copy-paste bug which was causing an infinite loop while parsing output.
git-svn-id: http://svn.osgeo.org/qgis/trunk@6103 c8812cc2-4d05-0410-92ff-de0c093fc19c
1 parent fc84c0d commit 4bbdce5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/plugins/grass/qgsgrassshell.cpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -722,10 +722,10 @@ void QgsGrassShell::printStdout()
722722
mStdoutBuffer.remove ( 0, mlen );
723723
continue;
724724
}
725-
725+
726726
if ( rxend.search(mStdoutBuffer) == 0 )
727727
{
728-
mlen = rxerror.matchedLength();
728+
mlen = rxend.matchedLength();
729729
mStdoutBuffer.remove ( 0, mlen );
730730
continue;
731731
}

0 commit comments

Comments
 (0)