瀏覽代碼

AmigaOS4: fix compilation for double UTF8Encode in library unit and system

Marcus Sackrow 3 年之前
父節點
當前提交
41e32d0fba
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      packages/rtl-console/src/inc/video.inc

+ 1 - 1
packages/rtl-console/src/inc/video.inc

@@ -312,7 +312,7 @@ function ExtendedGraphemeCluster2LegacyChar(const EGC: UnicodeString; CodePage:
     var
       tmpS: RawByteString;
     begin
-      tmpS:=UTF8Encode(EGC);
+      tmpS:=System.UTF8Encode(EGC);
       System.SetCodePage(tmpS,CodePage,True);
       if Length(tmpS)=1 then
         Result:=tmpS[1]