diff options
| author | Thomas Martitz <kugel@rockbox.org> | 2009-08-12 15:00:16 +0000 |
|---|---|---|
| committer | Thomas Martitz <kugel@rockbox.org> | 2009-08-12 15:00:16 +0000 |
| commit | 98f1aa6025c0d57daf7f89f74bb3bff8b95238ca (patch) | |
| tree | d37eb84549dc602f75ac27d02eb4062f8cf2c6ab /apps/plugins | |
| parent | 50d09bd84caad4a5ce19b1c5f0175ec82b49f5bb (diff) | |
| download | rockbox-98f1aa6025c0d57daf7f89f74bb3bff8b95238ca.zip rockbox-98f1aa6025c0d57daf7f89f74bb3bff8b95238ca.tar.gz rockbox-98f1aa6025c0d57daf7f89f74bb3bff8b95238ca.tar.bz2 rockbox-98f1aa6025c0d57daf7f89f74bb3bff8b95238ca.tar.xz | |
Fix mistake at checking the return in rockboy. Thanks Al Le for spotting.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22273 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins')
| -rw-r--r-- | apps/plugins/rockboy/menu.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/plugins/rockboy/menu.c b/apps/plugins/rockboy/menu.c index 290cac9..455c91b 100644 --- a/apps/plugins/rockboy/menu.c +++ b/apps/plugins/rockboy/menu.c @@ -227,7 +227,7 @@ static bool do_slot(size_t slot_id, bool is_load) { /* if we're saving to a slot, then get a brief description */ if (!is_load) - if (rb->kbd_input(desc_buf, 20) || !strlen(desc_buf) < 0) + if ( (rb->kbd_input(desc_buf, 20) < 0) || !strlen(desc_buf) ) { strlcpy(desc_buf, "Untitled", 20); } |