|
Karsten Hopp |
73cf9d |
To: vim_dev@googlegroups.com
|
|
Karsten Hopp |
73cf9d |
Subject: Patch 7.3.777
|
|
Karsten Hopp |
73cf9d |
Fcc: outbox
|
|
Karsten Hopp |
73cf9d |
From: Bram Moolenaar <Bram@moolenaar.net>
|
|
Karsten Hopp |
73cf9d |
Mime-Version: 1.0
|
|
Karsten Hopp |
73cf9d |
Content-Type: text/plain; charset=UTF-8
|
|
Karsten Hopp |
73cf9d |
Content-Transfer-Encoding: 8bit
|
|
Karsten Hopp |
73cf9d |
------------
|
|
Karsten Hopp |
73cf9d |
|
|
Karsten Hopp |
73cf9d |
Patch 7.3.777
|
|
Karsten Hopp |
73cf9d |
Problem: When building with Gnome locale gets reset.
|
|
Karsten Hopp |
73cf9d |
Solution: Set locale after gnome_program_init(). (Christian Brabandt)
|
|
Karsten Hopp |
73cf9d |
Files: src/gui_gtk_x11.c
|
|
Karsten Hopp |
73cf9d |
|
|
Karsten Hopp |
73cf9d |
|
|
Karsten Hopp |
73cf9d |
*** ../vim-7.3.776/src/gui_gtk_x11.c 2012-05-18 17:03:14.000000000 +0200
|
|
Karsten Hopp |
73cf9d |
--- src/gui_gtk_x11.c 2013-01-23 15:58:14.000000000 +0100
|
|
Karsten Hopp |
73cf9d |
***************
|
|
Karsten Hopp |
73cf9d |
*** 3130,3137 ****
|
|
Karsten Hopp |
73cf9d |
--- 3130,3145 ----
|
|
Karsten Hopp |
73cf9d |
* exits on failure, but that's a non-issue because we already called
|
|
Karsten Hopp |
73cf9d |
* gtk_init_check() in gui_mch_init_check(). */
|
|
Karsten Hopp |
73cf9d |
if (using_gnome)
|
|
Karsten Hopp |
73cf9d |
+ {
|
|
Karsten Hopp |
73cf9d |
gnome_program_init(VIMPACKAGE, VIM_VERSION_SHORT,
|
|
Karsten Hopp |
73cf9d |
LIBGNOMEUI_MODULE, gui_argc, gui_argv, NULL);
|
|
Karsten Hopp |
73cf9d |
+ # if defined(FEAT_FLOAT) && defined(LC_NUMERIC)
|
|
Karsten Hopp |
73cf9d |
+ /* Make sure strtod() uses a decimal point, not a comma. Gnome init
|
|
Karsten Hopp |
73cf9d |
+ * may change it. */
|
|
Karsten Hopp |
73cf9d |
+ if (setlocale(LC_NUMERIC, NULL) != (char *) "C")
|
|
Karsten Hopp |
73cf9d |
+ setlocale(LC_NUMERIC, "C");
|
|
Karsten Hopp |
73cf9d |
+ # endif
|
|
Karsten Hopp |
73cf9d |
+ }
|
|
Karsten Hopp |
73cf9d |
#endif
|
|
Karsten Hopp |
73cf9d |
vim_free(gui_argv);
|
|
Karsten Hopp |
73cf9d |
gui_argv = NULL;
|
|
Karsten Hopp |
73cf9d |
*** ../vim-7.3.776/src/version.c 2013-01-23 15:53:08.000000000 +0100
|
|
Karsten Hopp |
73cf9d |
--- src/version.c 2013-01-23 15:56:21.000000000 +0100
|
|
Karsten Hopp |
73cf9d |
***************
|
|
Karsten Hopp |
73cf9d |
*** 727,728 ****
|
|
Karsten Hopp |
73cf9d |
--- 727,730 ----
|
|
Karsten Hopp |
73cf9d |
{ /* Add new patch number below this line */
|
|
Karsten Hopp |
73cf9d |
+ /**/
|
|
Karsten Hopp |
73cf9d |
+ 777,
|
|
Karsten Hopp |
73cf9d |
/**/
|
|
Karsten Hopp |
73cf9d |
|
|
Karsten Hopp |
73cf9d |
--
|
|
Karsten Hopp |
73cf9d |
[clop clop]
|
|
Karsten Hopp |
73cf9d |
GUARD #1: Halt! Who goes there?
|
|
Karsten Hopp |
73cf9d |
ARTHUR: It is I, Arthur, son of Uther Pendragon, from the castle of
|
|
Karsten Hopp |
73cf9d |
Camelot. King of the Britons, defeator of the Saxons, sovereign of
|
|
Karsten Hopp |
73cf9d |
all England!
|
|
Karsten Hopp |
73cf9d |
GUARD #1: Pull the other one!
|
|
Karsten Hopp |
73cf9d |
The Quest for the Holy Grail (Monty Python)
|
|
Karsten Hopp |
73cf9d |
|
|
Karsten Hopp |
73cf9d |
/// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
|
|
Karsten Hopp |
73cf9d |
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
|
|
Karsten Hopp |
73cf9d |
\\\ an exciting new programming language -- http://www.Zimbu.org ///
|
|
Karsten Hopp |
73cf9d |
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
|