Commit d438cf68 authored by dickelbeck's avatar dickelbeck

sorry

parent 625210e9
......@@ -97,7 +97,6 @@ int STRING_LINE_READER::ReadLine() throw (IOError)
wxASSERT( ndx + advance <= source.length() );
memcpy( line, &source[ndx], advance );
line[advance] = 0;
length = advance;
......@@ -105,6 +104,8 @@ int STRING_LINE_READER::ReadLine() throw (IOError)
ndx += advance;
}
line[advance] = 0;
return advance;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment