Loading common/richio.cpp +2 −1 Original line number Original line Diff line number Diff line Loading @@ -97,7 +97,6 @@ int STRING_LINE_READER::ReadLine() throw (IOError) wxASSERT( ndx + advance <= source.length() ); wxASSERT( ndx + advance <= source.length() ); memcpy( line, &source[ndx], advance ); memcpy( line, &source[ndx], advance ); line[advance] = 0; length = advance; length = advance; Loading @@ -105,6 +104,8 @@ int STRING_LINE_READER::ReadLine() throw (IOError) ndx += advance; ndx += advance; } } line[advance] = 0; return advance; return advance; } } Loading Loading
common/richio.cpp +2 −1 Original line number Original line Diff line number Diff line Loading @@ -97,7 +97,6 @@ int STRING_LINE_READER::ReadLine() throw (IOError) wxASSERT( ndx + advance <= source.length() ); wxASSERT( ndx + advance <= source.length() ); memcpy( line, &source[ndx], advance ); memcpy( line, &source[ndx], advance ); line[advance] = 0; length = advance; length = advance; Loading @@ -105,6 +104,8 @@ int STRING_LINE_READER::ReadLine() throw (IOError) ndx += advance; ndx += advance; } } line[advance] = 0; return advance; return advance; } } Loading