Explorar el Código

* Fix erronous insertion of LTR characters inside a string

mazen hace 21 años
padre
commit
c1a8b51047
Se han modificado 1 ficheros con 3 adiciones y 1 borrados
  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