summaryrefslogtreecommitdiff
path: root/src/lib/efl
diff options
context:
space:
mode:
authorCarsten Haitzler (Rasterman) <raster@rasterman.com>2017-09-29 09:03:04 +0900
committerCarsten Haitzler (Rasterman) <raster@rasterman.com>2017-09-29 09:03:04 +0900
commit6867158eb38e14e78cfc80c6be5acce670cdf2b1 (patch)
tree6c254b23f38a1df78e47de076fd104732eb916ef /src/lib/efl
parent2ac1323faca7621f0e1f2e9d6c4008bfe8232fff (diff)
efl text markup - fix hex check to be or not and - found by coverity
fix CID 1381491
Diffstat (limited to 'src/lib/efl')
-rw-r--r--src/lib/efl/interfaces/efl_text_markup_util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/efl/interfaces/efl_text_markup_util.c b/src/lib/efl/interfaces/efl_text_markup_util.c
index 9c8a9cf55d..bf296c11fb 100644
--- a/src/lib/efl/interfaces/efl_text_markup_util.c
+++ b/src/lib/efl/interfaces/efl_text_markup_util.c
@@ -296,7 +296,7 @@ _escaped_char_get(const char *s, const char *s_end)
296 int base = 10; 296 int base = 10;
297 s += 2; /* Skip "&#" */ 297 s += 2; /* Skip "&#" */
298 298
299 if ((*s == 'x') && (*s == 'X')) 299 if ((*s == 'x') || (*s == 'X'))
300 { 300 {
301 s++; 301 s++;
302 base = 16; 302 base = 16;