X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/aef82f12c833f22b22d4a1ffb09261569d1fe1e8..270a909e20a2c652fd816ad14407113ad0319c9d:/src/common/tokenzr.cpp diff --git a/src/common/tokenzr.cpp b/src/common/tokenzr.cpp index b22a79ba26..6b5d18e178 100644 --- a/src/common/tokenzr.cpp +++ b/src/common/tokenzr.cpp @@ -39,7 +39,7 @@ off_t wxStringTokenizer::FindDelims(const wxString& str, const wxString& delims) { for ( size_t i = 0; i < str.Length(); i++ ) { - char c = str[i]; + wxChar c = str[i]; for ( size_t j = 0; j < delims.Length() ; j++ ) { @@ -66,7 +66,7 @@ int wxStringTokenizer::CountTokens() const if (pos != -1) { count++; - p_string = p_string(0, pos); + p_string = p_string(pos+1, p_string.Length()); } else {