summaryrefslogtreecommitdiff
path: root/fluid/Fl_Window_Type.cxx
diff options
context:
space:
mode:
authorMatthias Melcher <github@matthiasm.com>2024-03-02 22:58:52 +0100
committerMatthias Melcher <github@matthiasm.com>2024-03-02 22:58:57 +0100
commitec9430e744d33d6c88a00481057ecd5298c8e882 (patch)
tree10b14ee81b145d93bf749e9780471e84685eebef /fluid/Fl_Window_Type.cxx
parent7fea97c7a7dd36ad15b8d70f339c901adf88ba46 (diff)
FLUID: comments, typos, formatting
Diffstat (limited to 'fluid/Fl_Window_Type.cxx')
-rw-r--r--fluid/Fl_Window_Type.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/fluid/Fl_Window_Type.cxx b/fluid/Fl_Window_Type.cxx
index db9ec34ba..bc848ed75 100644
--- a/fluid/Fl_Window_Type.cxx
+++ b/fluid/Fl_Window_Type.cxx
@@ -73,19 +73,19 @@ void i18n_type_cb(Fl_Choice *c, void *v) {
c->value(g_project.i18n_type);
} else {
undo_checkpoint();
- g_project.i18n_type = c->value();
+ g_project.i18n_type = static_cast<Fd_I18n_Type>(c->value());
set_modflag(1);
}
switch (g_project.i18n_type) {
- case 0 : /* None */
+ case FD_I18N_NONE : /* None */
i18n_gnu_group->hide();
i18n_posix_group->hide();
break;
- case 1 : /* GNU gettext */
+ case FD_I18N_GNU : /* GNU gettext */
i18n_gnu_group->show();
i18n_posix_group->hide();
break;
- case 2 : /* POSIX cat */
+ case FD_I18N_POSIX : /* POSIX cat */
i18n_gnu_group->hide();
i18n_posix_group->show();
break;