diff options
| author | Matthias Melcher <github@matthiasm.com> | 2025-06-27 14:34:49 +0200 |
|---|---|---|
| committer | Matthias Melcher <github@matthiasm.com> | 2025-06-27 14:34:49 +0200 |
| commit | 3459e43ca830959d2b4ca71796a34ae7b21a819e (patch) | |
| tree | 0e4bee6696fea137b1f0eff93b4f04f369bfed6f /fluid/nodes/Window_Node.cxx | |
| parent | 088d98389cdc4c0ed38d05e4a8e59fab88198515 (diff) | |
FLUID: Move i18n settings into its own class
Diffstat (limited to 'fluid/nodes/Window_Node.cxx')
| -rw-r--r-- | fluid/nodes/Window_Node.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/fluid/nodes/Window_Node.cxx b/fluid/nodes/Window_Node.cxx index d6cbe80e6..5cc02a356 100644 --- a/fluid/nodes/Window_Node.cxx +++ b/fluid/nodes/Window_Node.cxx @@ -74,13 +74,13 @@ static void update_xywh() { void i18n_type_cb(Fl_Choice *c, void *v) { if (v == LOAD) { - c->value(static_cast<int>(Fluid.proj.i18n_type)); + c->value(static_cast<int>(Fluid.proj.i18n.type)); } else { Fluid.proj.undo.checkpoint(); - Fluid.proj.i18n_type = static_cast<fld::I18n_Type>(c->value()); + Fluid.proj.i18n.type = static_cast<fld::I18n_Type>(c->value()); Fluid.proj.set_modflag(1); } - switch (Fluid.proj.i18n_type) { + switch (Fluid.proj.i18n.type) { case fld::I18n_Type::NONE : /* None */ i18n_gnu_group->hide(); i18n_posix_group->hide(); |
