diff options
author | Daniel Stenberg <daniel@haxx.se> | 2007-02-17 23:07:39 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2007-02-17 23:07:39 +0000 |
commit | 0c021deb05107afc6826b255feb3b1c512a26ca5 (patch) | |
tree | 0dd04469d9ee04b9496a9e53d308718591fa48a0 /apps/playlist.c | |
parent | 1916576728f8e3b84eab8044e5f2a01ee3d6d943 (diff) | |
download | rockbox-0c021deb05107afc6826b255feb3b1c512a26ca5.tar.gz rockbox-0c021deb05107afc6826b255feb3b1c512a26ca5.zip |
#if => #ifdef
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12368 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/playlist.c')
-rw-r--r-- | apps/playlist.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/playlist.c b/apps/playlist.c index 56ffccc474..6997b12675 100644 --- a/apps/playlist.c +++ b/apps/playlist.c | |||
@@ -1056,7 +1056,7 @@ static int get_next_index(const struct playlist_info* playlist, int steps, | |||
1056 | } | 1056 | } |
1057 | 1057 | ||
1058 | case REPEAT_ONE: | 1058 | case REPEAT_ONE: |
1059 | #if (AB_REPEAT_ENABLE == 1) | 1059 | #ifdef AB_REPEAT_ENABLE |
1060 | case REPEAT_AB: | 1060 | case REPEAT_AB: |
1061 | #endif | 1061 | #endif |
1062 | next_index = current_index; | 1062 | next_index = current_index; |
@@ -2479,7 +2479,7 @@ int playlist_next(int steps) | |||
2479 | int index; | 2479 | int index; |
2480 | 2480 | ||
2481 | if ( (steps > 0) | 2481 | if ( (steps > 0) |
2482 | #if (AB_REPEAT_ENABLE == 1) | 2482 | #ifdef AB_REPEAT_ENABLE |
2483 | && (global_settings.repeat_mode != REPEAT_AB) | 2483 | && (global_settings.repeat_mode != REPEAT_AB) |
2484 | #endif | 2484 | #endif |
2485 | && (global_settings.repeat_mode != REPEAT_ONE) ) | 2485 | && (global_settings.repeat_mode != REPEAT_ONE) ) |