#ifdef instead of #if
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12362 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
0c74d2ce8e
commit
7bcfc1ddfe
2 changed files with 2 additions and 2 deletions
|
@ -680,7 +680,7 @@ static void display_bookmark(const char* bookmark,
|
||||||
/* bookmark shuffle and repeat states*/
|
/* bookmark shuffle and repeat states*/
|
||||||
switch (repeat_mode)
|
switch (repeat_mode)
|
||||||
{
|
{
|
||||||
#if (AB_REPEAT_ENABLE == 1)
|
#ifdef AB_REPEAT_ENABLE
|
||||||
case REPEAT_AB:
|
case REPEAT_AB:
|
||||||
statusbar_icon_play_mode(Icon_RepeatAB);
|
statusbar_icon_play_mode(Icon_RepeatAB);
|
||||||
break;
|
break;
|
||||||
|
|
|
@ -143,7 +143,7 @@ enum
|
||||||
REPEAT_ALL,
|
REPEAT_ALL,
|
||||||
REPEAT_ONE,
|
REPEAT_ONE,
|
||||||
REPEAT_SHUFFLE,
|
REPEAT_SHUFFLE,
|
||||||
#if (AB_REPEAT_ENABLE == 1)
|
#ifdef AB_REPEAT_ENABLE
|
||||||
REPEAT_AB,
|
REPEAT_AB,
|
||||||
#endif
|
#endif
|
||||||
NUM_REPEAT_MODES
|
NUM_REPEAT_MODES
|
||||||
|
|
Loading…
Reference in a new issue