diff options
| author | Michael R Sweet <michael.r.sweet@gmail.com> | 2000-04-25 01:12:48 +0000 |
|---|---|---|
| committer | Michael R Sweet <michael.r.sweet@gmail.com> | 2000-04-25 01:12:48 +0000 |
| commit | aa102a4595e162cd0568746809cd6e18fbe20cfc (patch) | |
| tree | b0282fabbc37f0dce5f9cf6315012d0f9a7b6ead /fluid | |
| parent | 8ff6d1daf49861b28bafc9e905ff9dcd910653be (diff) | |
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
Diffstat (limited to 'fluid')
| -rw-r--r-- | fluid/Fl_Window_Type.cxx | 9 |
1 files changed, 7 insertions, 2 deletions
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("<libintl.h>"); + 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("<nl_types.h>"); 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 $". // |
