edj_viewer: ++safety.

add a null check.
This commit is contained in:
Hermet Park 2016-08-16 17:28:54 +09:00
parent 693baf4398
commit 4b22c006b1
1 changed files with 1 additions and 0 deletions

View File

@ -772,6 +772,7 @@ view_part_highlight_set(view_data *vd, const char *part_name)
Eina_Stringshare *
view_group_name_get(view_data *vd)
{
if (!vd) return NULL;
return vd->group_name;
}