From 7bcfc1ddfe807258a6c6948e3f11d92326778229 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Sat, 17 Feb 2007 22:26:14 +0000 Subject: #ifdef instead of #if git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12362 a1c6a512-1295-4272-9138-f99709370657 --- apps/bookmark.c | 2 +- apps/settings.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/bookmark.c b/apps/bookmark.c index 1352b2a708..aa5dce6bc9 100644 --- a/apps/bookmark.c +++ b/apps/bookmark.c @@ -680,7 +680,7 @@ static void display_bookmark(const char* bookmark, /* bookmark shuffle and repeat states*/ switch (repeat_mode) { -#if (AB_REPEAT_ENABLE == 1) +#ifdef AB_REPEAT_ENABLE case REPEAT_AB: statusbar_icon_play_mode(Icon_RepeatAB); break; diff --git a/apps/settings.h b/apps/settings.h index 3605e7e777..35eed906fb 100644 --- a/apps/settings.h +++ b/apps/settings.h @@ -143,7 +143,7 @@ enum REPEAT_ALL, REPEAT_ONE, REPEAT_SHUFFLE, -#if (AB_REPEAT_ENABLE == 1) +#ifdef AB_REPEAT_ENABLE REPEAT_AB, #endif NUM_REPEAT_MODES -- cgit v1.2.3