Sfoglia il codice sorgente

* Correct check on command-line for -t

Michaël Van Canneyt 1 anno fa
parent
commit
126cc09037
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      packages/pastojs/src/pas2jscompiler.pp

+ 1 - 1
packages/pastojs/src/pas2jscompiler.pp

@@ -4057,7 +4057,7 @@ begin
         end;
       't': // subtarget
         begin
-        if not Quick then
+        if not FromCmdLine then
           ParamFatal('subtarget -t parameter can only be passed as cmd line parameter');
         inc(p);
         SubTarget:=copy(Param,p,length(Param));