浏览代码

* ascii2unicode: consistently use the cp parameter

git-svn-id: trunk@31878 -
Jonas Maebe 10 年之前
父节点
当前提交
fdf76bc606
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      compiler/widestr.pas

+ 1 - 1
compiler/widestr.pas

@@ -212,7 +212,7 @@ unit widestr;
          setlengthwidestring(r,l);
          source:=p;
          dest:=tcompilerwidecharptr(r^.data);
-         if (current_settings.sourcecodepage <> CP_UTF8) and
+         if (cp<>CP_UTF8) and
             codepagetranslation then
            begin
              for i:=1 to l do