diff options
| -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 a90dd80..db60d40 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: |