Преглед на файлове

* use new currentmodulestate

git-svn-id: trunk@7437 -
peter преди 18 години
родител
ревизия
01350c165c
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  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)));