diff options
| author | Matthias Melcher <github@matthiasm.com> | 2023-08-12 23:04:57 +0200 |
|---|---|---|
| committer | Matthias Melcher <github@matthiasm.com> | 2023-08-12 23:05:03 +0200 |
| commit | 01075687cff225c53e37ac048f206d0bf95b5538 (patch) | |
| tree | 5f9475ef2e714a5101554e0d2f6690b1345a4656 | |
| parent | 76fb2d5b79cb69782998bf6cf71c2c61fb712d69 (diff) | |
#765: Replaces uncommon escape sequence.
Missing return value in docs.
| -rw-r--r-- | documentation/src/migration_1_4.dox | 4 | ||||
| -rw-r--r-- | fluid/shell_command.cxx | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/documentation/src/migration_1_4.dox b/documentation/src/migration_1_4.dox index 9d516aa33..1061a5759 100644 --- a/documentation/src/migration_1_4.dox +++ b/documentation/src/migration_1_4.dox @@ -172,8 +172,8 @@ Code example in header file: \code class Your_Image { // ... - copy() const FL_OVERRIDE; - copy(int w, int h) const FL_OVERRIDE; + Fl_Image *copy() const FL_OVERRIDE; + Fl_Image *copy(int w, int h) const FL_OVERRIDE; }; \endcode diff --git a/fluid/shell_command.cxx b/fluid/shell_command.cxx index 58af4c6cf..fb1ed5b93 100644 --- a/fluid/shell_command.cxx +++ b/fluid/shell_command.cxx @@ -310,11 +310,11 @@ void do_shell_command(Fl_Return_Button*, void*) { } // Show the output window and clear things... - shell_run_terminal->printf("\e[0;32m%s\e[0m\n", g_shell_command.c_str()); + shell_run_terminal->printf("\033[0;32m%s\e[0m\n", g_shell_command.c_str()); shell_run_window->label(g_shell_command.c_str()); if (s_proc.popen((char *)g_shell_command.c_str()) == NULL) { - shell_run_terminal->printf("\e[1;31mUnable to run shell command: %s\e[0m\n", + shell_run_terminal->printf("\033[1;31mUnable to run shell command: %s\e[0m\n", strerror(errno)); shell_run_window->label("FLUID Shell"); return; |
