mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-12 07:46:00 +02:00
+ Bug fixed in ansistring typecast
This commit is contained in:
parent
9a3d560559
commit
c8941ca9af
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user