raster pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=6867158eb38e14e78cfc80c6be5acce670cdf2b1

commit 6867158eb38e14e78cfc80c6be5acce670cdf2b1
Author: Carsten Haitzler (Rasterman) <ras...@rasterman.com>
Date:   Fri Sep 29 09:03:04 2017 +0900

    efl text markup - fix hex check to be or not and - found by coverity
    
    fix CID 1381491
---
 src/lib/efl/interfaces/efl_text_markup_util.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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)
         int base = 10;
         s += 2; /* Skip "&#" */
 
-        if ((*s == 'x') && (*s == 'X'))
+        if ((*s == 'x') || (*s == 'X'))
           {
              s++;
              base = 16;

-- 


Reply via email to