wrong test

SVN revision: 64637
This commit is contained in:
Vincent Torri 2011-11-02 07:29:09 +00:00
parent c664467025
commit a6ed843005
1 changed files with 1 additions and 2 deletions

View File

@ -37,8 +37,7 @@ evil_char_to_wchar(const char *text)
if (wtext)
if (!MultiByteToWideChar(CP_ACP, 0, text, (int)strlen(text) + 1, wtext, wsize))
{
if (wsize == 0)
_evil_last_error_display(__FUNCTION__);
_evil_last_error_display(__FUNCTION__);
return NULL;
}