evas_textblock_hyphenation: remove incorrect expression

Summary: dict->cset is an array, not a pointer, thus is never NULL.

Test Plan: N/A

Reviewers: id213sin, cedric, Hermet, jypark

Reviewed By: jypark

Subscribers: #reviewers, #committers

Tags: #efl

Differential Revision: https://phab.enlightenment.org/D7121
This commit is contained in:
Jaeun Choi 2018-10-01 15:24:20 +09:00 committed by Jiyoun Park
parent 56e6ac1f5b
commit 6f26da1d72
1 changed files with 1 additions and 1 deletions

View File

@ -150,7 +150,7 @@ _layout_wrap_hyphens_get(const Eina_Unicode *text, const char *lang,
/* Convert UTF-32 encoded text to the other encoding
* which is described in hyphen dictionary. */
if (dict->cset && strcmp(dict->cset, "UTF-32"))
if (strcmp(dict->cset, "UTF-32"))
{
converted_text = eina_str_convert_len("UTF-32", dict->cset,
(char *)(text + word_start),