diff options
author | Daniel Stenberg <daniel@haxx.se> | 2007-02-17 22:26:14 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2007-02-17 22:26:14 +0000 |
commit | 7bcfc1ddfe807258a6c6948e3f11d92326778229 (patch) | |
tree | fc14cc64694e73ffac19e583c49e2ddcc4927c94 | |
parent | 0c74d2ce8e7e0d7ce46246896ca7cf18648ffc24 (diff) | |
download | rockbox-7bcfc1ddfe807258a6c6948e3f11d92326778229.tar.gz rockbox-7bcfc1ddfe807258a6c6948e3f11d92326778229.zip |
#ifdef instead of #if
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12362 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r-- | apps/bookmark.c | 2 | ||||
-rw-r--r-- | 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 |