Mercurial > vim
comparison src/os_mswin.c @ 6193:59cd2b16f718 v7.4.432
updated for version 7.4.432
Problem: When the startup code expands command line arguments, setting
'encoding' will not properly convert the arguments.
Solution: Call get_cmd_argsW() early in main(). (Yasuhiro Matsumoto)
author | Bram Moolenaar <bram@vim.org> |
---|---|
date | Tue, 09 Sep 2014 12:25:33 +0200 |
parents | 7e826028d399 |
children | 7816c24ff890 |
comparison
equal
deleted
inserted
replaced
6192:aaa91f821638 | 6193:59cd2b16f718 |
---|---|
275 CharLowerBuff(tolower_tab, 256); | 275 CharLowerBuff(tolower_tab, 256); |
276 #else | 276 #else |
277 AnsiUpperBuff(toupper_tab, 256); | 277 AnsiUpperBuff(toupper_tab, 256); |
278 AnsiLowerBuff(tolower_tab, 256); | 278 AnsiLowerBuff(tolower_tab, 256); |
279 #endif | 279 #endif |
280 | |
281 #if defined(FEAT_MBYTE) && !defined(FEAT_GUI) | |
282 (void)get_cmd_argsW(NULL); | |
283 #endif | |
284 } | 280 } |
285 | 281 |
286 | 282 |
287 /* | 283 /* |
288 * Return TRUE if the input comes from a terminal, FALSE otherwise. | 284 * Return TRUE if the input comes from a terminal, FALSE otherwise. |