浏览代码

* characters <= 127, not just < 127, can be concatenated to an
ansistring without conversion

git-svn-id: trunk@9395 -

Jonas Maebe 17 年之前
父节点
当前提交
02c714aec1
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      rtl/unix/cwstring.pp

+ 1 - 1
rtl/unix/cwstring.pp

@@ -315,7 +315,7 @@ var
 begin
   { we know that s is unique -> avoid uniquestring calls}
   p:=@s[index];
-  if (nc<$7f) then
+  if (nc<=127) then
     ConcatCharToAnsiStr(char(nc),s,index)
   else
     begin