mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-10-22 14:37:38 -04:00
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
This commit is contained in:
parent
50d09bd84c
commit
98f1aa6025
1 changed files with 1 additions and 1 deletions
|
@ -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 we're saving to a slot, then get a brief description */
|
||||||
if (!is_load)
|
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);
|
strlcpy(desc_buf, "Untitled", 20);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue