+ Fix for ansistring conversion

This commit is contained in:
michael 1999-12-04 14:25:33 +00:00
parent b3f5bf1766
commit 186749643c

View File

@ -10,7 +10,7 @@ begin
// Linux version returns pchar. // Linux version returns pchar.
p:=linux.getenv(EnvVar); p:=linux.getenv(EnvVar);
if P<>nil then if P<>nil then
getenv:=ansistring(p) getenv:=strpas(p)
else else
getenv:=''; getenv:='';
end; end;