Browse Source

* force recompiling if we change target OS

pierre 25 years ago
parent
commit
8af36884e6
1 changed files with 9 additions and 2 deletions
  1. 9 2
      ide/text/fpmcomp.inc

+ 9 - 2
ide/text/fpmcomp.inc

@@ -45,6 +45,10 @@ begin
   if Desktop^.ExecView(D)=cmOK then
     begin
        TargetSwitches^.SetCurrSel(RB^.Value);
+       { we allways need to recompile if we change
+         the target OS PM }
+       if L<>RB^.Value then
+         PrevMainFile:='';
        UpdateTarget;
     end;
   Dispose(D, Done);
@@ -112,7 +116,10 @@ end;
 
 {
   $Log$
-  Revision 1.6  1999-06-25 00:37:56  pierre
+  Revision 1.7  2000-01-10 14:59:08  pierre
+   * force recompiling if we change target OS
+
+  Revision 1.6  1999/06/25 00:37:56  pierre
    + UpdateTarget to see current target main in Menu
 
   Revision 1.5  1999/04/07 21:55:49  peter
@@ -143,4 +150,4 @@ end;
     + Switches are now written/read
     + find and replace routines
 
-}
+}