updated for version 7.3.777
Problem: When building with Gnome locale gets reset.
Solution: Set locale after gnome_program_init(). (Christian Brabandt)
diff --git a/src/gui_gtk_x11.c b/src/gui_gtk_x11.c
index d70f418..a8cad32 100644
--- a/src/gui_gtk_x11.c
+++ b/src/gui_gtk_x11.c
@@ -3130,8 +3130,16 @@
* exits on failure, but that's a non-issue because we already called
* gtk_init_check() in gui_mch_init_check(). */
if (using_gnome)
+ {
gnome_program_init(VIMPACKAGE, VIM_VERSION_SHORT,
LIBGNOMEUI_MODULE, gui_argc, gui_argv, NULL);
+# if defined(FEAT_FLOAT) && defined(LC_NUMERIC)
+ /* Make sure strtod() uses a decimal point, not a comma. Gnome init
+ * may change it. */
+ if (setlocale(LC_NUMERIC, NULL) != (char *) "C")
+ setlocale(LC_NUMERIC, "C");
+# endif
+ }
#endif
vim_free(gui_argv);
gui_argv = NULL;
diff --git a/src/version.c b/src/version.c
index 03a4833..3e7d463 100644
--- a/src/version.c
+++ b/src/version.c
@@ -726,6 +726,8 @@
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
+ 777,
+/**/
776,
/**/
775,