Procházet zdrojové kódy

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

git-svn-id: trunk@9395 -

Jonas Maebe před 18 roky
rodič
revize
02c714aec1
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  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