sorry
This commit is contained in:
parent
625210e9c7
commit
d438cf6829
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue