diff options
| author | Matthias Melcher <git@matthiasm.com> | 2021-12-05 23:46:11 +0100 |
|---|---|---|
| committer | Matthias Melcher <git@matthiasm.com> | 2021-12-05 23:46:11 +0100 |
| commit | a646c3f0124ff4a630efa85b528167d012ba2d86 (patch) | |
| tree | e8b869f564aaf9663446249e5323f8846595b480 /fluid | |
| parent | ff869e7419ef3c6c76aa693b178a5f2c15975a8c (diff) | |
Fluid: fixing missing return.
Diffstat (limited to 'fluid')
| -rw-r--r-- | fluid/fluid.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/fluid/fluid.cxx b/fluid/fluid.cxx index 73e9027ff..700c81d63 100644 --- a/fluid/fluid.cxx +++ b/fluid/fluid.cxx @@ -702,7 +702,7 @@ char i18n_program[FL_PATH_MAX] = ""; int write_code_files() { if (!filename) { save_cb(0,0); - if (!filename) return; + if (!filename) return 1; } char cname[FL_PATH_MAX]; char hname[FL_PATH_MAX]; @@ -734,6 +734,7 @@ int write_code_files() { fl_message("Wrote %s", cname); } } + return 0; } void write_cb(Fl_Widget *, void *) { |
