summaryrefslogtreecommitdiffstats
path: root/apps/playlist_viewer.c
diff options
context:
space:
mode:
authorSolomon Peachy <pizza@shaftnet.org>2022-08-05 14:05:33 -0400
committerSolomon Peachy <pizza@shaftnet.org>2022-08-05 14:05:33 -0400
commitd4917888e3cee943cfb050db3f6b93f83b0356e3 (patch)
treec2bad74921bc07274fcf217af7c7dd32bfc8b123 /apps/playlist_viewer.c
parentcef9fa22ef11511f6d174b1e92f3350e514ef7d7 (diff)
downloadrockbox-d4917888e3.tar.gz
rockbox-d4917888e3.zip
Fix yellow introduced in cef9fa22ef11511f6d174b1e92f3350e514ef7d7
(Wrap new function in HAVE_HOTKEY) Change-Id: Idf5f96bd1e097fc580a6b1ba5be4b93a78de9deb
Diffstat (limited to 'apps/playlist_viewer.c')
-rw-r--r--apps/playlist_viewer.c2
1 files changed, 2 insertions, 0 deletions
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)