瀏覽代碼

* Fix erronous insertion of LTR characters inside a string

mazen 21 年之前
父節點
當前提交
c1a8b51047
共有 1 個文件被更改,包括 3 次插入1 次删除
  1. 3 1
      rtl/objpas/freebidi.pp

+ 3 - 1
rtl/objpas/freebidi.pp

@@ -292,7 +292,9 @@ begin
     begin
       lp := lp + Length(c);
       Result += 1;
-    end;
+    end
+  else
+    Result := vp;
   if DirectionOf(Src) = drRTL
   then
     begin