rimmed pushed a commit to branch eflete-1.18.

http://git.enlightenment.org/tools/eflete.git/commit/?id=00d6bc6a11d8f8f53ba1fc3e219c6a75a9b68b0f

commit 00d6bc6a11d8f8f53ba1fc3e219c6a75a9b68b0f
Author: Vitalii Vorobiov <vi.vorob...@samsung.com>
Date:   Tue Sep 6 16:42:02 2016 +0300

    property_color: avoid SIGSEGV after first click on colorclass with 
description
    
    @fix
---
 src/bin/ui/property/property_private.h | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/bin/ui/property/property_private.h 
b/src/bin/ui/property/property_private.h
index 4cca07b..13fbc07 100644
--- a/src/bin/ui/property/property_private.h
+++ b/src/bin/ui/property/property_private.h
@@ -627,7 +627,8 @@ property_entry_set(Evas_Object *entry, const char *text)
    if (text != NULL)
      {
         markup = elm_entry_utf8_to_markup(text);
-        if (strcmp(markup, elm_entry_entry_get(entry)) != 0)
+        if ((elm_entry_entry_get(entry)) &&
+            (strcmp(markup, elm_entry_entry_get(entry)) != 0))
           elm_entry_entry_set(entry, markup);
         free(markup);
      }

-- 


Reply via email to