瀏覽代碼

+ Fix for bug #4222 by Rodrigo Robles

git-svn-id: trunk@745 -
michael 20 年之前
父節點
當前提交
42f219cfc4
共有 1 個文件被更改,包括 3 次插入0 次删除
  1. 3 0
      rtl/objpas/strutils.pp

+ 3 - 0
rtl/objpas/strutils.pp

@@ -1168,7 +1168,10 @@ begin
   Count:=WordCount(S, WordDelims);
   I:=1;
   While (Not Result) and (I<=Count) do
+    begin
     Result:=ExtractWord(i,S,WordDelims)=W;
+    Inc(i);
+    end;
 end;