From: Enlightenment S. <no-...@en...> - 2011-11-02 07:29:16
|
Log: wrong test Author: caro Date: 2011-11-02 00:29:09 -0700 (Wed, 02 Nov 2011) New Revision: 64637 Trac: http://trac.enlightenment.org/e/changeset/64637 Modified: trunk/PROTO/evil/src/lib/evil_util.c Modified: trunk/PROTO/evil/src/lib/evil_util.c =================================================================== --- trunk/PROTO/evil/src/lib/evil_util.c 2011-11-02 07:22:11 UTC (rev 64636) +++ trunk/PROTO/evil/src/lib/evil_util.c 2011-11-02 07:29:09 UTC (rev 64637) @@ -37,8 +37,7 @@ 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; } |