]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/tokenzr.cpp
added some utils (tex2rtf, helpgen, makegen) to make system
[wxWidgets.git] / src / common / tokenzr.cpp
index 837243cac6c575a1534e733a9147adc77295761f..6b5d18e1782e9d1ffc391af338850937840a66ea 100644 (file)
@@ -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
         {