efl text markup - fix hex check to be or not and - found by coverity

fix CID 1381491
This commit is contained in:
Carsten Haitzler 2017-09-29 09:03:04 +09:00
parent 2ac1323fac
commit 6867158eb3
1 changed files with 1 additions and 1 deletions

View File

@ -296,7 +296,7 @@ _escaped_char_get(const char *s, const char *s_end)
int base = 10;
s += 2; /* Skip "&#" */
if ((*s == 'x') && (*s == 'X'))
if ((*s == 'x') || (*s == 'X'))
{
s++;
base = 16;