Fix yellow introduced in cef9fa22ef

(Wrap new function in HAVE_HOTKEY)

Change-Id: Idf5f96bd1e097fc580a6b1ba5be4b93a78de9deb
This commit is contained in:
Solomon Peachy 2022-08-05 14:05:33 -04:00
parent cef9fa22ef
commit d4917888e3

View file

@ -511,6 +511,7 @@ static enum pv_onplay_result show_track_info(const struct playlist_entry *curren
} }
#ifdef HAVE_HOTKEY
static enum pv_onplay_result open_with(const struct playlist_entry *current_track) static enum pv_onplay_result open_with(const struct playlist_entry *current_track)
{ {
char selected_track[MAX_PATH]; char selected_track[MAX_PATH];
@ -520,6 +521,7 @@ static enum pv_onplay_result open_with(const struct playlist_entry *current_trac
return (filetype_list_viewers(selected_track) == return (filetype_list_viewers(selected_track) ==
PLUGIN_USB_CONNECTED ? PV_ONPLAY_USB_CLOSED : PV_ONPLAY_CLOSED); PLUGIN_USB_CONNECTED ? PV_ONPLAY_USB_CLOSED : PV_ONPLAY_CLOSED);
} }
#endif /* HAVE_HOTKEY */
#ifdef HAVE_TAGCACHE #ifdef HAVE_TAGCACHE
static enum pv_onplay_result open_pictureflow(const struct playlist_entry *current_track) static enum pv_onplay_result open_pictureflow(const struct playlist_entry *current_track)