diff options
Diffstat (limited to 'src/locale.c')
-rw-r--r-- | src/locale.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/locale.c b/src/locale.c index 1c72c43e4a..d0378ffb50 100644 --- a/src/locale.c +++ b/src/locale.c @@ -225,7 +225,7 @@ init_locale(void) // Tell Gtk not to change our locale settings. gtk_disable_setlocale(); # endif -# if defined(FEAT_FLOAT) && defined(LC_NUMERIC) +# if defined(LC_NUMERIC) // Make sure strtod() uses a decimal point, not a comma. setlocale(LC_NUMERIC, "C"); # endif @@ -333,7 +333,7 @@ ex_language(exarg_T *eap) # endif { loc = setlocale(what, (char *)name); -# if defined(FEAT_FLOAT) && defined(LC_NUMERIC) +# if defined(LC_NUMERIC) // Make sure strtod() uses a decimal point, not a comma. setlocale(LC_NUMERIC, "C"); # endif |