Selaa lähdekoodia

+ Bug fixed in ansistring typecast

michael 26 vuotta sitten
vanhempi
commit
c8941ca9af
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1 1
      fcl/win32/ezcgi.inc

+ 1 - 1
fcl/win32/ezcgi.inc

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