From 0c1f78c1f2eadc464cca6861c07bd98818a79068 Mon Sep 17 00:00:00 2001 From: Matthias Melcher Date: Thu, 9 Dec 2021 18:55:45 +0100 Subject: STR 3460.D: fixed .fl file reading code --- fluid/file.cxx | 6 ++++++ 1 file changed, 6 insertions(+) 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; } } { -- cgit v1.2.3