Mercurial > vim
comparison src/gui_x11.c @ 30310:029c59bf78f1 v9.0.0491
patch 9.0.0491: no good reason to build without the float feature
Commit: https://github.com/vim/vim/commit/73e28dcc6125f616cf1f2d56443d22428a79e434
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat Sep 17 21:08:33 2022 +0100
patch 9.0.0491: no good reason to build without the float feature
Problem: No good reason to build without the float feature.
Solution: Remove configure check for float and "#ifdef FEAT_FLOAT".
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sat, 17 Sep 2022 22:15:05 +0200 |
parents | 01087b4630da |
children | e5ee2ffd826a |
comparison
equal
deleted
inserted
replaced
30309:4ba3d27b5357 | 30310:029c59bf78f1 |
---|---|
1182 if (app_context != NULL) | 1182 if (app_context != NULL) |
1183 gui.dpy = XtOpenDisplay(app_context, 0, VIM_NAME, VIM_CLASS, | 1183 gui.dpy = XtOpenDisplay(app_context, 0, VIM_NAME, VIM_CLASS, |
1184 cmdline_options, XtNumber(cmdline_options), | 1184 cmdline_options, XtNumber(cmdline_options), |
1185 CARDINAL &gui_argc, gui_argv); | 1185 CARDINAL &gui_argc, gui_argv); |
1186 | 1186 |
1187 # if defined(FEAT_FLOAT) && defined(LC_NUMERIC) | 1187 # if defined(LC_NUMERIC) |
1188 { | 1188 { |
1189 // The call to XtOpenDisplay() may have set the locale from the | 1189 // The call to XtOpenDisplay() may have set the locale from the |
1190 // environment. Set LC_NUMERIC to "C" to make sure that strtod() uses a | 1190 // environment. Set LC_NUMERIC to "C" to make sure that strtod() uses a |
1191 // decimal point, not a comma. | 1191 // decimal point, not a comma. |
1192 char *p = setlocale(LC_NUMERIC, NULL); | 1192 char *p = setlocale(LC_NUMERIC, NULL); |