summaryrefslogtreecommitdiff
path: root/apps/plugins/rockboy/menu.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugins/rockboy/menu.c')
-rw-r--r--apps/plugins/rockboy/menu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/plugins/rockboy/menu.c b/apps/plugins/rockboy/menu.c
index 0978da0b09..290cac98de 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) {
227 227
228 /* if we're saving to a slot, then get a brief description */ 228 /* if we're saving to a slot, then get a brief description */
229 if (!is_load) 229 if (!is_load)
230 if (rb->kbd_input(desc_buf, 20) || !strlen(desc_buf)) 230 if (rb->kbd_input(desc_buf, 20) || !strlen(desc_buf) < 0)
231 { 231 {
232 strlcpy(desc_buf, "Untitled", 20); 232 strlcpy(desc_buf, "Untitled", 20);
233 } 233 }