mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-05 01:01:33 +02:00
* Correct check
This commit is contained in:
parent
04a31f8be2
commit
36e65b3464
@ -1242,7 +1242,7 @@ implementation
|
||||
|
||||
function tstringconstnode.asconstpchar: pchar;
|
||||
begin
|
||||
if len>0 then
|
||||
if length(valueas)>0 then
|
||||
Result:=@valueas[0]
|
||||
else
|
||||
Result:=@cEmptyString;
|
||||
|
Loading…
Reference in New Issue
Block a user