Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fluid: fixing missing return.
  • Loading branch information
Matthias Melcher committed Dec 5, 2021
1 parent ff869e7 commit a646c3f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion fluid/fluid.cxx
Expand Up @@ -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];
Expand Down Expand Up @@ -734,6 +734,7 @@ int write_code_files() {
fl_message("Wrote %s", cname);
}
}
return 0;
}

void write_cb(Fl_Widget *, void *) {
Expand Down

0 comments on commit a646c3f

Please sign in to comment.