summaryrefslogtreecommitdiff
path: root/src/lib/evil/evil_util.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/evil/evil_util.c')
-rw-r--r--src/lib/evil/evil_util.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/lib/evil/evil_util.c b/src/lib/evil/evil_util.c
index ebbe0ad093..4f74353a16 100644
--- a/src/lib/evil/evil_util.c
+++ b/src/lib/evil/evil_util.c
@@ -90,9 +90,7 @@ evil_utf16_to_utf8(const wchar_t *text16)
90 if (!text16) 90 if (!text16)
91 return NULL; 91 return NULL;
92 92
93#if WINVER >= 0x0600
94 flag = WC_ERR_INVALID_CHARS; 93 flag = WC_ERR_INVALID_CHARS;
95#endif
96 94
97 size8 = WideCharToMultiByte(CP_UTF8, flag, text16, -1, NULL, 0, NULL, NULL); 95 size8 = WideCharToMultiByte(CP_UTF8, flag, text16, -1, NULL, 0, NULL, NULL);
98 if (size8 == 0) 96 if (size8 == 0)