From 298692f55ee56144fde887efd5d5cac2703faa75 Mon Sep 17 00:00:00 2001 From: Albrecht Schlosser Date: Fri, 17 Mar 2017 17:32:00 +0000 Subject: 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 --- src/Fl_Input.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(); -- cgit v1.2.3