浏览代码

* make the meaning of "string" in {$h+} mode the same as that of ansistring:
"type ansistring(CP_ACP)", rather than "type ansistring(sourcefilecodepage)"

git-svn-id: trunk@31847 -

Jonas Maebe 10 年之前
父节点
当前提交
8e50695f78
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      compiler/pexpr.pas

+ 1 - 1
compiler/pexpr.pas

@@ -132,7 +132,7 @@ implementation
                   if m_default_unicodestring in current_settings.modeswitches then
                   if m_default_unicodestring in current_settings.modeswitches then
                     def:=cunicodestringtype
                     def:=cunicodestringtype
                   else
                   else
-                    def:=getansistringdef
+                    def:=cansistringtype
                 end
                 end
               else
               else
                 def:=cshortstringtype;
                 def:=cshortstringtype;