1
0
forked from aniani/vim

updated for version 7.0232

This commit is contained in:
Bram Moolenaar
2006-03-23 22:47:08 +00:00
parent 8ab561d31e
commit 7b5f8325ee
6 changed files with 28 additions and 8 deletions

View File

@@ -548,6 +548,8 @@ static const struct
#ifdef _MSC_VER
// The ToAscii bug destroys several registers. Need to turn off optimization
// or the GetConsoleKeyboardLayoutName hack will fail in non-debug versions
# pragma warning(push)
# pragma warning(disable: 4748)
# pragma optimize("", off)
#endif
@@ -619,6 +621,7 @@ win32_kbd_patch_key(
/* MUST switch optimization on again here, otherwise a call to
* decode_key_event() may crash (e.g. when hitting caps-lock) */
# pragma optimize("", on)
# pragma warning(pop)
# if (_MSC_VER < 1100)
/* MUST turn off global optimisation for this next function, or