summaryrefslogtreecommitdiff
path: root/src/lib/elementary
diff options
context:
space:
mode:
authorCarsten Haitzler (Rasterman) <raster@rasterman.com>2018-11-28 12:39:45 +0000
committerCarsten Haitzler (Rasterman) <raster@rasterman.com>2018-12-03 11:04:27 +0000
commita9650209a4c9badc5a86573c9bb38918dd6ab455 (patch)
treefcc09610c530b32b2b1650faa2315b525258f0cb /src/lib/elementary
parent168fec6995d526764126080d46e7890aff2a6e7b (diff)
efl ui text - check if string exists beofre using it...
don't segv.
Diffstat (limited to 'src/lib/elementary')
-rw-r--r--src/lib/elementary/efl_ui_text.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/elementary/efl_ui_text.c b/src/lib/elementary/efl_ui_text.c
index 9c0d292356..8cfed9a062 100644
--- a/src/lib/elementary/efl_ui_text.c
+++ b/src/lib/elementary/efl_ui_text.c
@@ -2100,7 +2100,7 @@ _update_text_theme(Eo *obj, Efl_Ui_Text_Data *sd)
2100 2100
2101 // color 2101 // color
2102 colorcode = edje_object_data_get(wd->resize_obj, "guide.style.color"); 2102 colorcode = edje_object_data_get(wd->resize_obj, "guide.style.color");
2103 if (_format_color_parse(colorcode, strlen(colorcode), &r, &g, &b, &a)) 2103 if (colorcode && _format_color_parse(colorcode, strlen(colorcode), &r, &g, &b, &a))
2104 { 2104 {
2105 efl_text_normal_color_set(sd->text_guide_obj, r, g, b, a); 2105 efl_text_normal_color_set(sd->text_guide_obj, r, g, b, a);
2106 } 2106 }