Kaynağa Gözat

* Fix erronous insertion of LTR characters inside a string

mazen 21 yıl önce
ebeveyn
işleme
c1a8b51047
1 değiştirilmiş dosya ile 3 ekleme ve 1 silme
  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