deskmirror - handle invalid ptr access (null)

don't crash. survive.
devs/bu5hm4n/mixerfun
Carsten Haitzler 2 years ago
parent 1b381ca100
commit d192549e58
  1. 1
      src/bin/e_deskmirror.c

@ -282,6 +282,7 @@ _mirror_client_theme_setup(Mirror_Border *mb, Evas_Object *o)
{
char buf[4096];
if ((!mb) || (!mb->m) || (!mb->m->ec)) return;
if (e_comp_object_frame_exists(mb->m->ec->frame))
snprintf(buf, sizeof(buf), "e/deskmirror/frame/%s", mb->m->ec->border.name);
else

Loading…
Cancel
Save