summaryrefslogtreecommitdiff
path: root/src/lib/evas/canvas/evas_object_text.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/evas/canvas/evas_object_text.c')
-rw-r--r--src/lib/evas/canvas/evas_object_text.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lib/evas/canvas/evas_object_text.c b/src/lib/evas/canvas/evas_object_text.c
index 1f8f340f89..1a97af9f4c 100644
--- a/src/lib/evas/canvas/evas_object_text.c
+++ b/src/lib/evas/canvas/evas_object_text.c
@@ -2336,6 +2336,7 @@ evas_object_text_font_source_get(const Eo *obj)
2336EAPI void 2336EAPI void
2337evas_object_text_font_set(Eo *obj, const char *font, Evas_Font_Size size) 2337evas_object_text_font_set(Eo *obj, const char *font, Evas_Font_Size size)
2338{ 2338{
2339 if (!font || size <= 0) return; /*Condition for legacy object*/
2339 efl_text_font_set((Eo *) obj, font, size); 2340 efl_text_font_set((Eo *) obj, font, size);
2340} 2341}
2341 2342