From aa102a4595e162cd0568746809cd6e18fbe20cfc Mon Sep 17 00:00:00 2001 From: Michael R Sweet Date: Tue, 25 Apr 2000 01:12:48 +0000 Subject: Fixed bug in i18n_type_cb() - wasn't setting the i18n_xyz string variables to the input field values, so weird things would happen (like empty text fields, no gettext in front of the strings, etc.) git-svn-id: file:///fltk/svn/fltk/branches/branch-1.0@1083 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- fluid/Fl_Window_Type.cxx | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'fluid') diff --git a/fluid/Fl_Window_Type.cxx b/fluid/Fl_Window_Type.cxx index 29c3186d5..0b4a6e0aa 100644 --- a/fluid/Fl_Window_Type.cxx +++ b/fluid/Fl_Window_Type.cxx @@ -1,5 +1,5 @@ // -// "$Id: Fl_Window_Type.cxx,v 1.13.2.4 2000/04/24 18:22:49 mike Exp $" +// "$Id: Fl_Window_Type.cxx,v 1.13.2.5 2000/04/25 01:12:48 mike Exp $" // // Window type code for the Fast Light Tool Kit (FLTK). // @@ -71,7 +71,9 @@ void i18n_type_cb(Fl_Choice *c, void *) { break; case 1 : /* GNU gettext */ i18n_include_input->value(""); + i18n_include = i18n_include_input->value(); i18n_function_input->value("gettext"); + i18n_function = i18n_function_input->value(); i18n_include_input->show(); i18n_file_input->hide(); i18n_set_input->hide(); @@ -80,8 +82,11 @@ void i18n_type_cb(Fl_Choice *c, void *) { case 2 : /* POSIX cat */ i18n_include_input->value(""); i18n_file_input->value("i18n_file"); + i18n_file = i18n_file_input->value(); i18n_set_input->value("1"); + i18n_set = i18n_set_input->value(); i18n_include_input->show(); + i18n_include = i18n_include_input->value(); i18n_file_input->show(); i18n_set_input->show(); i18n_function_input->hide(); @@ -747,5 +752,5 @@ int Fl_Window_Type::read_fdesign(const char* name, const char* value) { } // -// End of "$Id: Fl_Window_Type.cxx,v 1.13.2.4 2000/04/24 18:22:49 mike Exp $". +// End of "$Id: Fl_Window_Type.cxx,v 1.13.2.5 2000/04/25 01:12:48 mike Exp $". // -- cgit v1.2.3