Explorar o código

* use new currentmodulestate

git-svn-id: trunk@7437 -
peter %!s(int64=18) %!d(string=hai) anos
pai
achega
01350c165c
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      ide/fpcompil.pas

+ 1 - 1
ide/fpcompil.pas

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