summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/lib/els_tooltip.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lib/els_tooltip.c b/src/lib/els_tooltip.c
index 811c69841..fecdb8bc3 100644
--- a/src/lib/els_tooltip.c
+++ b/src/lib/els_tooltip.c
@@ -735,8 +735,9 @@ _tooltip_label_style_set(Evas_Object *obj, Evas_Object *label)
735{ 735{
736 ELM_TOOLTIP_GET_OR_RETURN(tt, obj); 736 ELM_TOOLTIP_GET_OR_RETURN(tt, obj);
737 char buf[100] = {0}; 737 char buf[100] = {0};
738 const char *style = tt->style ? tt->style : "default";
738 739
739 sprintf(buf, "tooltip/%s", tt->style); 740 sprintf(buf, "tooltip/%s", style);
740 if (!elm_object_style_set(label, buf)) 741 if (!elm_object_style_set(label, buf))
741 { 742 {
742 WRN("Failed to set tooltip label style: %s, reverting to old style", 743 WRN("Failed to set tooltip label style: %s, reverting to old style",