rimmed pushed a commit to branch eflete-1.19.0.

http://git.enlightenment.org/tools/eflete.git/commit/?id=69bdf40b907a80e603e41fefebb52ce67c136b48

commit 69bdf40b907a80e603e41fefebb52ce67c136b48
Author: Vyacheslav Reutskiy <v.reuts...@samsung.com>
Date:   Fri Dec 15 17:11:56 2017 +0200

    fix svace warnings
---
 src/bin/external/syntax_color.c | 1 +
 src/bin/ui/cursor.c             | 1 +
 2 files changed, 2 insertions(+)

diff --git a/src/bin/external/syntax_color.c b/src/bin/external/syntax_color.c
index 23b583fe7..e85c6494e 100644
--- a/src/bin/external/syntax_color.c
+++ b/src/bin/external/syntax_color.c
@@ -457,6 +457,7 @@ macro_apply(Eina_Strbuf *strbuf, const char **src, int 
length, char **cur,
        {
           while (bracket_inside > 0)
             {
+               if (!macro_end) return 0;
                macro_end = strchr(macro_end, ')');
                bracket_inside--;
             }
diff --git a/src/bin/ui/cursor.c b/src/bin/ui/cursor.c
index 7178b26aa..d4e79f777 100644
--- a/src/bin/ui/cursor.c
+++ b/src/bin/ui/cursor.c
@@ -113,6 +113,7 @@ _eflete_cursor_mouse_out(void *data __UNUSED__,
    if (ev->event_flags & EVAS_EVENT_FLAG_ON_HOLD) return;
 
    cursor = evas_object_data_get(obj, CURSOR_KEY);
+   if (!cursor) return;
    cursor = ecore_evas_data_get(cursor->ee, CURSOR_KEY);
    if (cursor)
      {

-- 


Reply via email to