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
This commit is contained in:
parent
cb90a53c86
commit
298692f55e
@ -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();
|
||||
|
||||
Loading…
Reference in New Issue
Block a user