Skip to content
Commit 8d2e1340 authored by Milan Crha's avatar Milan Crha
Browse files

e_day_view_show_popup_menu: Avoid runtime warning from tooltip_get_view_event

The e_day_view_show_popup_menu() can be called with event_num = -1,
which is when the mouse doesn't hover above any event. The function
tooltip_get_view_event() claims a runtime warning in this case, thus
avoid it by properly testing the passed-in value.
parent fc55deda
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment