rimmed pushed a commit to branch master.

http://git.enlightenment.org/tools/eflete.git/commit/?id=77e98e94adbb9359ff8c9d015eec886534b6a8c0

commit 77e98e94adbb9359ff8c9d015eec886534b6a8c0
Author: Tetiana Naumenko <t.naume...@samsung.com>
Date:   Mon Apr 10 12:03:22 2017 +0300

    property_private: fix saving empty script code
    
    @fix
    
    Change-Id: I3a89b186dd3bdb9a4d4e0a4ac6f770fed822a657
---
 src/bin/ui/property/property_private.h | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/src/bin/ui/property/property_private.h 
b/src/bin/ui/property/property_private.h
index 4b74148..b95b27f 100644
--- a/src/bin/ui/property/property_private.h
+++ b/src/bin/ui/property/property_private.h
@@ -700,6 +700,9 @@ property_color_entry_set(Evas_Object *entry, const char 
*text, color_data *c_dat
      {
         markup = elm_entry_utf8_to_markup(text);
         colored = color_apply(c_data, markup, strlen(markup), NULL, NULL);
+
+        if (colored == NULL) return;
+
         if ((elm_entry_entry_get(entry)) &&
             (strcmp(colored, elm_entry_entry_get(entry)) != 0))
           elm_entry_entry_set(entry, colored);

-- 


Reply via email to