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:
@@ -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
|
||||
{
|
||||
|
Reference in New Issue
Block a user