forked from enlightenment/efl
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:
parent
56e6ac1f5b
commit
6f26da1d72
|
@ -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),
|
||||
|
|
Loading…
Reference in New Issue