win - +null object checking.

it allows previous highlighted object is empty.
So it should be checked before accessing.
This commit is contained in:
ChunEon Park 2014-02-06 00:16:59 +09:00
parent de114b6101
commit c2489943a7
1 changed files with 2 additions and 1 deletions

View File

@ -803,7 +803,8 @@ _elm_win_focus_highlight_reconfigure(Elm_Win_Smart_Data *sd)
if ((!target) || (!common_visible) || (sd->focus_highlight.cur.in_theme))
goto the_end;
focus_style_previous = elm_widget_focus_highlight_style_get(previous);
if (previous)
focus_style_previous = elm_widget_focus_highlight_style_get(previous);
focus_style_target = elm_widget_focus_highlight_style_get(target);
if (sd->focus_highlight.theme_changed ||