소스 검색

* 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