1
0
Fork 0
mirror of git://slackware.nl/current.git synced 2025-01-28 08:02:25 +01:00
slackware-current/source/ap/vim/patches/7.2.318
Patrick J Volkerding b76270bf9e Slackware 13.1
Wed May 19 08:58:23 UTC 2010
Slackware 13.1 x86_64 stable is released!
Lots of thanks are due -- see the RELEASE_NOTES and the rest of the
ChangeLog for credits.  The ISOs are on their way to replication,
a 6 CD-ROM 32-bit set and a dual-sided 32-bit/64-bit x86/x86_64 DVD.
We are taking pre-orders now at store.slackware.com, and offering
a discount if you sign up for a subscription.  Consider picking up
a copy to help support the project.  Thanks again to the Slackware
community for testing, contributing, and generally holding us to a
high level of quality.  :-)
Enjoy!
2018-05-31 22:43:05 +02:00

91 lines
2.6 KiB
Text

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