4 From: Bram Moolenaar <Bram@moolenaar.net>
6 Content-Type: text/plain; charset=UTF-8
7 Content-Transfer-Encoding: 8bit
11 Problem: Wrong locale value breaks floating point numbers for gvim.
12 Solution: Set the locale again after doing GUI inits. (Dominique Pelle)
16 *** ../vim-7.2.317/src/main.c 2009-11-17 12:31:30.000000000 +0100
17 --- src/main.c 2009-12-16 18:23:46.000000000 +0100
20 * Check if the GUI can be started. Reset gui.starting if not.
21 * Don't know about other systems, stay on the safe side and don't check.
23 ! if (gui.starting && gui_init_check() == FAIL)
25 ! gui.starting = FALSE;
27 ! /* When running "evim" or "gvim -y" we need the menus, exit if we
28 ! * don't have them. */
29 ! if (params.evim_mode)
35 * Check if the GUI can be started. Reset gui.starting if not.
36 * Don't know about other systems, stay on the safe side and don't check.
40 ! if (gui_init_check() == FAIL)
42 ! gui.starting = FALSE;
44 ! /* When running "evim" or "gvim -y" we need the menus, exit if we
45 ! * don't have them. */
46 ! if (params.evim_mode)
49 ! # if defined(HAVE_LOCALE_H) || defined(X_LOCALE)
50 ! /* Re-initialize locale, it may have been altered by gui_init_check() */
59 else if (STRICMP(argv[i], "--servername") == 0)
61 ! /* Alredy processed. Take it out of the command line */
67 else if (STRICMP(argv[i], "--servername") == 0)
69 ! /* Already processed. Take it out of the command line */
73 *** ../vim-7.2.317/src/version.c 2009-12-16 18:13:04.000000000 +0100
74 --- src/version.c 2009-12-16 18:26:24.000000000 +0100
78 { /* Add new patch number below this line */
84 hundred-and-one symptoms of being an internet addict:
85 36. You miss more than five meals a week downloading the latest games from
88 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
89 /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
90 \\\ download, build and distribute -- http://www.A-A-P.org ///
91 \\\ help me help AIDS victims -- http://ICCF-Holland.org ///