Forráskód Böngészése

* use new currentmodulestate

git-svn-id: trunk@7437 -
peter 18 éve
szülő
commit
01350c165c
1 módosított fájl, 1 hozzáadás és 1 törlés
  1. 1 1
      ide/fpcompil.pas

+ 1 - 1
ide/fpcompil.pas

@@ -587,7 +587,7 @@ begin
     cpCompiling :
     cpCompiling :
       begin
       begin
         ClearFormatParams;
         ClearFormatParams;
-        if Status.Compiling_current then
+        if Upcase(Status.currentmodulestate)='COMPILE' then
           begin
           begin
             AddFormatParamStr(ShrinkPath(SmartPath(Status.Currentsourcepath+Status.CurrentSource),
             AddFormatParamStr(ShrinkPath(SmartPath(Status.Currentsourcepath+Status.CurrentSource),
               MaxFileNameSize - Length(msg_compilingfile)));
               MaxFileNameSize - Length(msg_compilingfile)));