Explorar o código

* 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 %!s(int64=10) %!d(string=hai) anos
pai
achega
8e50695f78
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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
                     def:=cunicodestringtype
                   else
-                    def:=getansistringdef
+                    def:=cansistringtype
                 end
               else
                 def:=cshortstringtype;