Explorar o código

* Correct check

Michaël Van Canneyt hai 5 meses
pai
achega
36e65b3464
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      compiler/ncon.pas

+ 1 - 1
compiler/ncon.pas

@@ -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;