summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--fluid/fluid.cxx3
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 *) {