forked from enlightenment/efl
efl text markup - fix hex check to be or not and - found by coverity
fix CID 1381491
This commit is contained in:
parent
2ac1323fac
commit
6867158eb3
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue