diff options
| author | Albrecht Schlosser <albrechts.fltk@online.de> | 2017-03-17 17:32:00 +0000 |
|---|---|---|
| committer | Albrecht Schlosser <albrechts.fltk@online.de> | 2017-03-17 17:32:00 +0000 |
| commit | 298692f55ee56144fde887efd5d5cac2703faa75 (patch) | |
| tree | e1d0d4fc48aafe11024a0225c12bcb14f3fbb57b /src | |
| parent | cb90a53c86fe6951805552073184951b767654e5 (diff) | |
Revert temporary fix (attempt) introduced in svn r11644.
The fix in src/Fl_Input.cxx in svn r11644 was an attempt to fix the
Visual Studio (Windows) build because CMake would sometimes not find
the correct header files, but this attempt opened a path where the
variable 'legal_fp_chars' was not initialized.
The (hopefully) correct fix will follow in my next commit...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12208 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'src')
| -rw-r--r-- | src/Fl_Input.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Fl_Input.cxx b/src/Fl_Input.cxx index d6ebd0415..4054ae603 100644 --- a/src/Fl_Input.cxx +++ b/src/Fl_Input.cxx @@ -316,7 +316,7 @@ int Fl_Input::handle_key() { Fl::compose_reset(); // ignore any composed characters... // initialize the list of legal characters inside a floating point number -#if defined(HAVE_LOCALECONV) && defined(HAVE_LOCALE_H) +#if defined(HAVE_LOCALECONV) if (!legal_fp_chars) { size_t len = strlen(standard_fp_chars); struct lconv *lc = localeconv(); |
