summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Melcher <git@matthiasm.com>2021-12-09 18:55:45 +0100
committerMatthias Melcher <git@matthiasm.com>2021-12-09 18:55:51 +0100
commit0c1f78c1f2eadc464cca6861c07bd98818a79068 (patch)
tree1bc195b62852594cfdc2030208410e894f590628
parent83f6bb50b292df155a11aae630f5b8f8064fdcae (diff)
STR 3460.D: fixed .fl file reading code
-rw-r--r--fluid/file.cxx6
1 files changed, 6 insertions, 0 deletions
diff --git a/fluid/file.cxx b/fluid/file.cxx
index 063f3e4a0..d2bc456c6 100644
--- a/fluid/file.cxx
+++ b/fluid/file.cxx
@@ -537,20 +537,26 @@ static void read_children(Fl_Type *p, int paste, char options_read=0) {
if (shell_settings_windows.command)
free((void*)shell_settings_windows.command);
shell_settings_windows.command = fl_strdup(read_word());
+ goto CONTINUE;
} else if (strcmp(c, "win_shell_flags")==0) {
shell_settings_windows.flags = atoi(read_word());
+ goto CONTINUE;
} else if (strcmp(c, "linux_shell_cmd")==0) {
if (shell_settings_linux.command)
free((void*)shell_settings_linux.command);
shell_settings_linux.command = fl_strdup(read_word());
+ goto CONTINUE;
} else if (strcmp(c, "linux_shell_flags")==0) {
shell_settings_linux.flags = atoi(read_word());
+ goto CONTINUE;
} else if (strcmp(c, "mac_shell_cmd")==0) {
if (shell_settings_macos.command)
free((void*)shell_settings_macos.command);
shell_settings_macos.command = fl_strdup(read_word());
+ goto CONTINUE;
} else if (strcmp(c, "mac_shell_flags")==0) {
shell_settings_macos.flags = atoi(read_word());
+ goto CONTINUE;
}
}
{