diff options
| author | Albrecht Schlosser <albrechts.fltk@online.de> | 2024-03-19 15:09:14 +0100 |
|---|---|---|
| committer | Albrecht Schlosser <albrechts.fltk@online.de> | 2024-03-19 15:39:18 +0100 |
| commit | af90841fbc0a7090d7f3979c4d71aeeec1fbcb4b (patch) | |
| tree | 8c768ffc47e08b5031110997b595e930e3e1a754 /fluid/Fl_Widget_Type.cxx | |
| parent | 3a8daf70c05692d73ded3a64d004a685c5ea2df6 (diff) | |
Update dependencies, whitespace, and Fl_File_Chooser.cxx
Rewrite src/Fl_File_Chooser.cxx from its .fl source file
Diffstat (limited to 'fluid/Fl_Widget_Type.cxx')
| -rw-r--r-- | fluid/Fl_Widget_Type.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fluid/Fl_Widget_Type.cxx b/fluid/Fl_Widget_Type.cxx index d223fba86..310792d0c 100644 --- a/fluid/Fl_Widget_Type.cxx +++ b/fluid/Fl_Widget_Type.cxx @@ -3006,7 +3006,7 @@ void Fl_Widget_Type::write_code1(Fd_Code_Writer& f) { f.write_c(")"); break; case FD_I18N_POSIX : /* POSIX catgets */ - f.write_c("catgets(%s,%s,%d,", + f.write_c("catgets(%s,%s,%d,", g_project.i18n_pos_file.empty() ? "_catalog" : g_project.i18n_pos_file.c_str(), g_project.i18n_pos_set.c_str(), msgnum()); f.write_cstring(label()); @@ -3082,7 +3082,7 @@ void Fl_Widget_Type::write_widget_code(Fd_Code_Writer& f) { case FD_I18N_POSIX : /* POSIX catgets */ f.write_c("catgets(%s,%s,%d,", g_project.i18n_pos_file.empty() ? "_catalog" : g_project.i18n_pos_file.c_str(), - g_project.i18n_pos_set.c_str(), + g_project.i18n_pos_set.c_str(), msgnum() + 1); f.write_cstring(tooltip()); f.write_c(")"); |
