From 2dc19005b6a5b57d0efab43e63dfce1452e3ea4e Mon Sep 17 00:00:00 2001 From: Jonathan Gordon Date: Sun, 1 Jan 2012 11:34:00 +0000 Subject: [PATCH] oops, somehow a leading \ went missing making these checks a bit silly! git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31513 a1c6a512-1295-4272-9138-f99709370657 --- apps/shortcuts.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/shortcuts.c b/apps/shortcuts.c index a90dd80789..db60d40db2 100644 --- a/apps/shortcuts.c +++ b/apps/shortcuts.c @@ -144,11 +144,11 @@ static bool verify_shortcut(struct shortcut* sc) case SHORTCUT_BROWSER: case SHORTCUT_FILE: case SHORTCUT_PLAYLISTMENU: - return sc->u.path[0] != '0'; + return sc->u.path[0] != '\0'; case SHORTCUT_SETTING: return sc->u.setting != NULL; case SHORTCUT_TIME: - return sc->name[0] != '0'; + return sc->name[0] != '\0'; case SHORTCUT_DEBUGITEM: case SHORTCUT_SEPARATOR: case SHORTCUT_SHUTDOWN: