summaryrefslogtreecommitdiffstats
path: root/apps/playlist_viewer.c
diff options
context:
space:
mode:
authorThomas Martitz <kugel@rockbox.org>2009-08-12 14:38:25 +0000
committerThomas Martitz <kugel@rockbox.org>2009-08-12 14:38:25 +0000
commit18e40e0f4c45bf204571e548347e23b1bb5b4afd (patch)
tree81aa6fdc600db2576b6581bc596d09ffb7390cec /apps/playlist_viewer.c
parent345920fe7e9d261abf564a71cf9675fbe72679de (diff)
downloadrockbox-18e40e0f4c45bf204571e548347e23b1bb5b4afd.tar.gz
rockbox-18e40e0f4c45bf204571e548347e23b1bb5b4afd.tar.bz2
rockbox-18e40e0f4c45bf204571e548347e23b1bb5b4afd.zip
Make kbd_input() show a cancel splash to indicate user abort better and for better consistency all over the place. Change checking for its return value (style-wise) at some places too.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22269 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/playlist_viewer.c')
-rw-r--r--apps/playlist_viewer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/playlist_viewer.c b/apps/playlist_viewer.c
index 1e1aab8c54..7d3ff4ef9e 100644
--- a/apps/playlist_viewer.c
+++ b/apps/playlist_viewer.c
@@ -802,7 +802,7 @@ bool search_playlist(void)
if (!playlist_viewer_init(&viewer, 0, false))
return ret;
- if (kbd_input(search_str, sizeof(search_str)) == -1)
+ if (kbd_input(search_str, sizeof(search_str)) < 0)
return ret;
lcd_clear_display();
playlist_count = playlist_amount_ex(viewer.playlist);