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, | |||
680 | /* bookmark shuffle and repeat states*/ | 680 | /* bookmark shuffle and repeat states*/ |
681 | switch (repeat_mode) | 681 | switch (repeat_mode) |
682 | { | 682 | { |
683 | #if (AB_REPEAT_ENABLE == 1) | 683 | #ifdef AB_REPEAT_ENABLE |
684 | case REPEAT_AB: | 684 | case REPEAT_AB: |
685 | statusbar_icon_play_mode(Icon_RepeatAB); | 685 | statusbar_icon_play_mode(Icon_RepeatAB); |
686 | break; | 686 | 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 | |||
143 | REPEAT_ALL, | 143 | REPEAT_ALL, |
144 | REPEAT_ONE, | 144 | REPEAT_ONE, |
145 | REPEAT_SHUFFLE, | 145 | REPEAT_SHUFFLE, |
146 | #if (AB_REPEAT_ENABLE == 1) | 146 | #ifdef AB_REPEAT_ENABLE |
147 | REPEAT_AB, | 147 | REPEAT_AB, |
148 | #endif | 148 | #endif |
149 | NUM_REPEAT_MODES | 149 | NUM_REPEAT_MODES |