diff options
author | Jonathan Gordon <rockbox@jdgordon.info> | 2012-01-01 11:34:00 +0000 |
---|---|---|
committer | Jonathan Gordon <rockbox@jdgordon.info> | 2012-01-01 11:34:00 +0000 |
commit | 2dc19005b6a5b57d0efab43e63dfce1452e3ea4e (patch) | |
tree | 3f420e848312fbe828b611a4c2cedc5a126535de /apps/shortcuts.c | |
parent | 607b384a2a3bf4b7ab574f014c887e3183c181f5 (diff) |
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
Diffstat (limited to 'apps/shortcuts.c')
-rw-r--r-- | apps/shortcuts.c | 4 |
1 files 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: |