diff options
| author | Matthias Melcher <github@matthiasm.com> | 2023-07-11 14:27:02 +0200 |
|---|---|---|
| committer | Matthias Melcher <github@matthiasm.com> | 2023-07-11 14:27:58 +0200 |
| commit | 71088b7fe2e7fb431f18c47e3e823a0bb8e5da52 (patch) | |
| tree | 3592e75e79c233b9518b6397c381cc3d6b1717fc /fluid/fluid.cxx | |
| parent | 676bad861ae6ff8854d58ca776168391ff53c016 (diff) | |
FLUID mark project change when changing window visibility
Diffstat (limited to 'fluid/fluid.cxx')
| -rw-r--r-- | fluid/fluid.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fluid/fluid.cxx b/fluid/fluid.cxx index 1a6345544..41f4cb6a1 100644 --- a/fluid/fluid.cxx +++ b/fluid/fluid.cxx @@ -1781,7 +1781,7 @@ void set_filename(const char *c) { \param[in] mf 0 to clear the modflag, 1 to mark the design "modified", -1 to ignore this parameter \param[in] mfc default -1 to let \c mf control \c modflag_c, 0 to mark the - code files current, 1 to mark it out of date. + code files current, 1 to mark it out of date. -2 to ignore changes to mf. */ void set_modflag(int mf, int mfc) { const char *basename; @@ -1796,7 +1796,7 @@ void set_modflag(int mf, int mfc) { if (mfc==-1 && mf==1) mfc = mf; } - if (mfc!=-1) { + if (mfc>=0) { modflag_c = mfc; } |
