Skip to content

Commit

Permalink
Fixed a copy-paste bug which was causing an infinite loop while parsi…
Browse files Browse the repository at this point in the history
…ng output.

git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@6103 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
wonder committed Nov 17, 2006
1 parent ccf5074 commit bd9f9fe
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/plugins/grass/qgsgrassshell.cpp
Expand Up @@ -722,10 +722,10 @@ void QgsGrassShell::printStdout()
mStdoutBuffer.remove ( 0, mlen );
continue;
}

if ( rxend.search(mStdoutBuffer) == 0 )
{
mlen = rxerror.matchedLength();
mlen = rxend.matchedLength();
mStdoutBuffer.remove ( 0, mlen );
continue;
}
Expand Down

0 comments on commit bd9f9fe

Please sign in to comment.