summaryrefslogtreecommitdiff
path: root/legacy/evil
diff options
context:
space:
mode:
authorVincent Torri <vincent.torri@gmail.com>2011-11-02 07:29:09 +0000
committerVincent Torri <vincent.torri@gmail.com>2011-11-02 07:29:09 +0000
commita6ed843005bf5a65e8733293a955949ef2671b2f (patch)
tree65f3cf0e01aa39938d08db1398ba886a707699bd /legacy/evil
parentc664467025c49217b3b49af65ca9fd61c4b551b7 (diff)
wrong test
SVN revision: 64637
Diffstat (limited to 'legacy/evil')
-rw-r--r--legacy/evil/src/lib/evil_util.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/legacy/evil/src/lib/evil_util.c b/legacy/evil/src/lib/evil_util.c
index 1ffd9ba9f9..cbf204a5e3 100644
--- a/legacy/evil/src/lib/evil_util.c
+++ b/legacy/evil/src/lib/evil_util.c
@@ -37,8 +37,7 @@ evil_char_to_wchar(const char *text)
37 if (wtext) 37 if (wtext)
38 if (!MultiByteToWideChar(CP_ACP, 0, text, (int)strlen(text) + 1, wtext, wsize)) 38 if (!MultiByteToWideChar(CP_ACP, 0, text, (int)strlen(text) + 1, wtext, wsize))
39 { 39 {
40 if (wsize == 0) 40 _evil_last_error_display(__FUNCTION__);
41 _evil_last_error_display(__FUNCTION__);
42 return NULL; 41 return NULL;
43 } 42 }
44 43