another correction to indices used in StringToLines()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51534 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
3fc69ebc38
commit
2eafd712f1
@ -8133,7 +8133,7 @@ void wxGrid::StringToLines( const wxString& value, wxArrayString& lines ) const
|
||||
startPos += pos + 1;
|
||||
}
|
||||
|
||||
if ( startPos < (int)value.length() )
|
||||
if ( startPos < (int)tVal.length() )
|
||||
{
|
||||
lines.Add( tVal.Mid( startPos ) );
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user