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
Please register or sign in to comment