mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-18 08:29:20 +02:00
* correction of a previously introduced bug
This commit is contained in:
parent
3c54458903
commit
443374521c
@ -23,21 +23,19 @@ function GetEnv (var EnvVar: AnsiString): AnsiString;
|
|||||||
var P: PChar;
|
var P: PChar;
|
||||||
|
|
||||||
begin
|
begin
|
||||||
if DosScanEnv (PChar (EnvVar), P) = 0 then GetEnv := P else GetEnv := nil;
|
if DosScanEnv (PChar (EnvVar), P) = 0 then GetEnv := P else GetEnv := '';
|
||||||
end;
|
end;
|
||||||
|
|
||||||
{
|
{
|
||||||
$Log$
|
$Log$
|
||||||
Revision 1.5 2001-01-28 18:40:35 hajny
|
Revision 1.6 2001-02-26 04:57:38 hajny
|
||||||
|
* correction of a previously introduced bug
|
||||||
|
|
||||||
|
Revision 1.1.2.2 2001/01/28 18:41:07 hajny
|
||||||
* error checking added
|
* error checking added
|
||||||
|
|
||||||
Revision 1.4 2000/10/28 16:56:02 hajny
|
Revision 1.1.2.1 2000/10/28 16:56:43 hajny
|
||||||
+ real (ansistring) implementation
|
+ real (ansistring) implementation
|
||||||
|
|
||||||
Revision 1.3 2000/08/25 17:33:44 hajny
|
|
||||||
* Made compilable again (missing bracket at the begin of logs)
|
|
||||||
|
|
||||||
Revision 1.2 2000/07/13 11:33:01 michael
|
|
||||||
+ removed logs
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user