|
Karsten Hopp |
eec765 |
To: vim-dev@vim.org
|
|
Karsten Hopp |
eec765 |
Subject: Patch 7.2.318
|
|
Karsten Hopp |
eec765 |
Fcc: outbox
|
|
Karsten Hopp |
eec765 |
From: Bram Moolenaar <Bram@moolenaar.net>
|
|
Karsten Hopp |
eec765 |
Mime-Version: 1.0
|
|
Karsten Hopp |
eec765 |
Content-Type: text/plain; charset=UTF-8
|
|
Karsten Hopp |
eec765 |
Content-Transfer-Encoding: 8bit
|
|
Karsten Hopp |
eec765 |
------------
|
|
Karsten Hopp |
eec765 |
|
|
Karsten Hopp |
eec765 |
Patch 7.2.318
|
|
Karsten Hopp |
eec765 |
Problem: Wrong locale value breaks floating point numbers for gvim.
|
|
Karsten Hopp |
eec765 |
Solution: Set the locale again after doing GUI inits. (Dominique Pelle)
|
|
Karsten Hopp |
eec765 |
Files: src/main.c
|
|
Karsten Hopp |
eec765 |
|
|
Karsten Hopp |
eec765 |
|
|
Karsten Hopp |
eec765 |
*** ../vim-7.2.317/src/main.c 2009-11-17 12:31:30.000000000 +0100
|
|
Karsten Hopp |
eec765 |
--- src/main.c 2009-12-16 18:23:46.000000000 +0100
|
|
Karsten Hopp |
eec765 |
***************
|
|
Karsten Hopp |
eec765 |
*** 366,379 ****
|
|
Karsten Hopp |
eec765 |
* Check if the GUI can be started. Reset gui.starting if not.
|
|
Karsten Hopp |
eec765 |
* Don't know about other systems, stay on the safe side and don't check.
|
|
Karsten Hopp |
eec765 |
*/
|
|
Karsten Hopp |
eec765 |
! if (gui.starting && gui_init_check() == FAIL)
|
|
Karsten Hopp |
eec765 |
{
|
|
Karsten Hopp |
eec765 |
! gui.starting = FALSE;
|
|
Karsten Hopp |
eec765 |
|
|
Karsten Hopp |
eec765 |
! /* When running "evim" or "gvim -y" we need the menus, exit if we
|
|
Karsten Hopp |
eec765 |
! * don't have them. */
|
|
Karsten Hopp |
eec765 |
! if (params.evim_mode)
|
|
Karsten Hopp |
eec765 |
! mch_exit(1);
|
|
Karsten Hopp |
eec765 |
}
|
|
Karsten Hopp |
eec765 |
# endif
|
|
Karsten Hopp |
eec765 |
#endif
|
|
Karsten Hopp |
eec765 |
--- 366,386 ----
|
|
Karsten Hopp |
eec765 |
* Check if the GUI can be started. Reset gui.starting if not.
|
|
Karsten Hopp |
eec765 |
* Don't know about other systems, stay on the safe side and don't check.
|
|
Karsten Hopp |
eec765 |
*/
|
|
Karsten Hopp |
eec765 |
! if (gui.starting)
|
|
Karsten Hopp |
eec765 |
{
|
|
Karsten Hopp |
eec765 |
! if (gui_init_check() == FAIL)
|
|
Karsten Hopp |
eec765 |
! {
|
|
Karsten Hopp |
eec765 |
! gui.starting = FALSE;
|
|
Karsten Hopp |
eec765 |
|
|
Karsten Hopp |
eec765 |
! /* When running "evim" or "gvim -y" we need the menus, exit if we
|
|
Karsten Hopp |
eec765 |
! * don't have them. */
|
|
Karsten Hopp |
eec765 |
! if (params.evim_mode)
|
|
Karsten Hopp |
eec765 |
! mch_exit(1);
|
|
Karsten Hopp |
eec765 |
! }
|
|
Karsten Hopp |
eec765 |
! # if defined(HAVE_LOCALE_H) || defined(X_LOCALE)
|
|
Karsten Hopp |
eec765 |
! /* Re-initialize locale, it may have been altered by gui_init_check() */
|
|
Karsten Hopp |
eec765 |
! init_locale();
|
|
Karsten Hopp |
eec765 |
! # endif
|
|
Karsten Hopp |
eec765 |
}
|
|
Karsten Hopp |
eec765 |
# endif
|
|
Karsten Hopp |
eec765 |
#endif
|
|
Karsten Hopp |
eec765 |
***************
|
|
Karsten Hopp |
eec765 |
*** 3685,3691 ****
|
|
Karsten Hopp |
eec765 |
}
|
|
Karsten Hopp |
eec765 |
else if (STRICMP(argv[i], "--servername") == 0)
|
|
Karsten Hopp |
eec765 |
{
|
|
Karsten Hopp |
eec765 |
! /* Alredy processed. Take it out of the command line */
|
|
Karsten Hopp |
eec765 |
i++;
|
|
Karsten Hopp |
eec765 |
continue;
|
|
Karsten Hopp |
eec765 |
}
|
|
Karsten Hopp |
eec765 |
--- 3692,3698 ----
|
|
Karsten Hopp |
eec765 |
}
|
|
Karsten Hopp |
eec765 |
else if (STRICMP(argv[i], "--servername") == 0)
|
|
Karsten Hopp |
eec765 |
{
|
|
Karsten Hopp |
eec765 |
! /* Already processed. Take it out of the command line */
|
|
Karsten Hopp |
eec765 |
i++;
|
|
Karsten Hopp |
eec765 |
continue;
|
|
Karsten Hopp |
eec765 |
}
|
|
Karsten Hopp |
eec765 |
*** ../vim-7.2.317/src/version.c 2009-12-16 18:13:04.000000000 +0100
|
|
Karsten Hopp |
eec765 |
--- src/version.c 2009-12-16 18:26:24.000000000 +0100
|
|
Karsten Hopp |
eec765 |
***************
|
|
Karsten Hopp |
eec765 |
*** 683,684 ****
|
|
Karsten Hopp |
eec765 |
--- 683,686 ----
|
|
Karsten Hopp |
eec765 |
{ /* Add new patch number below this line */
|
|
Karsten Hopp |
eec765 |
+ /**/
|
|
Karsten Hopp |
eec765 |
+ 318,
|
|
Karsten Hopp |
eec765 |
/**/
|
|
Karsten Hopp |
eec765 |
|
|
Karsten Hopp |
eec765 |
--
|
|
Karsten Hopp |
eec765 |
hundred-and-one symptoms of being an internet addict:
|
|
Karsten Hopp |
eec765 |
36. You miss more than five meals a week downloading the latest games from
|
|
Karsten Hopp |
eec765 |
Apogee.
|
|
Karsten Hopp |
eec765 |
|
|
Karsten Hopp |
eec765 |
/// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
|
|
Karsten Hopp |
eec765 |
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
|
|
Karsten Hopp |
eec765 |
\\\ download, build and distribute -- http://www.A-A-P.org ///
|
|
Karsten Hopp |
eec765 |
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
|