From d4917888e3cee943cfb050db3f6b93f83b0356e3 Mon Sep 17 00:00:00 2001 From: Solomon Peachy Date: Fri, 5 Aug 2022 14:05:33 -0400 Subject: [PATCH] Fix yellow introduced in cef9fa22ef11511f6d174b1e92f3350e514ef7d7 (Wrap new function in HAVE_HOTKEY) Change-Id: Idf5f96bd1e097fc580a6b1ba5be4b93a78de9deb --- apps/playlist_viewer.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/apps/playlist_viewer.c b/apps/playlist_viewer.c index 7e50c42bdc..fd6a01117f 100644 --- a/apps/playlist_viewer.c +++ b/apps/playlist_viewer.c @@ -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) { 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) == PLUGIN_USB_CONNECTED ? PV_ONPLAY_USB_CLOSED : PV_ONPLAY_CLOSED); } +#endif /* HAVE_HOTKEY */ #ifdef HAVE_TAGCACHE static enum pv_onplay_result open_pictureflow(const struct playlist_entry *current_track)