Browse Source

+ Bug fixed in ansistring typecast

michael 26 years ago
parent
commit
c8941ca9af
1 changed files with 1 additions and 1 deletions
  1. 1 1
      fcl/win32/ezcgi.inc

+ 1 - 1
fcl/win32/ezcgi.inc

@@ -20,7 +20,7 @@ begin
    hp:=p;
    hp:=p;
    while hp^<>#0 do
    while hp^<>#0 do
      begin
      begin
-        s:=AnsiString(hp);
+        s:=StrPas(hp);
         i:=pos('=',s);
         i:=pos('=',s);
         if upcase(copy(s,1,i-1))=upcase(envvar) then
         if upcase(copy(s,1,i-1))=upcase(envvar) then
           begin
           begin