0
0
mirror of https://github.com/vim/vim.git synced 2025-09-23 03:43:49 -04:00

updated for version 7.0151

This commit is contained in:
Bram Moolenaar
2005-09-29 18:26:07 +00:00
parent 4463f296d0
commit 482aaeb058
49 changed files with 3715 additions and 529 deletions

View File

@@ -1236,6 +1236,12 @@ get_number_arg(p, idx, def)
init_locale()
{
setlocale(LC_ALL, "");
# ifdef WIN32
/* Apparently MS-Windows printf() may cause a crash when we give it 8-bit
* text while it's expecting text in the current locale. This call avoids
* that. */
setlocale(LC_CTYPE, "C");
# endif
# ifdef FEAT_GETTEXT
{