elm_entry: fix typos
[framework/uifw/elementary.git] / src / lib / elu_ews_wm.c
index 578718d..15fdb65 100644 (file)
@@ -180,9 +180,9 @@ _elm_ews_border_config_apply(Ecore_Evas *ee, Evas_Object *o, Elm_Theme *th)
 
    title = ecore_evas_title_get(ee);
    ecore_evas_name_class_get(ee, &name, &class);
-   edje_object_part_text_set(o, "elm.text.title", title);
-   edje_object_part_text_set(o, "elm.text.name", name);
-   edje_object_part_text_set(o, "elm.text.class", class);
+   edje_object_part_text_escaped_set(o, "elm.text.title", title);
+   edje_object_part_text_escaped_set(o, "elm.text.name", name);
+   edje_object_part_text_escaped_set(o, "elm.text.class", class);
 
    _elm_ews_border_geo_apply(ee, o);
    _elm_ews_border_focus_apply(ee, o);
@@ -435,9 +435,11 @@ _elm_ews_wm_config_change_cb(void *data __UNUSED__, int type __UNUSED__, void *e
 void
 _elm_ews_wm_rescale(Elm_Theme *th, Eina_Bool use_theme)
 {
-   Eina_Iterator *it = eina_hash_iterator_tuple_new(_ews_borders);
+   Eina_Iterator *it;
    Eina_Hash_Tuple *tp = NULL;
 
+   if (!_ews_borders) return;
+   it = eina_hash_iterator_tuple_new(_ews_borders);
    if (!use_theme)
      {
         EINA_ITERATOR_FOREACH(it, tp)