Browse Source

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

git-svn-id: trunk@9395 -

Jonas Maebe 17 năm trước cách đây
mục cha
commit
02c714aec1
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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