summaryrefslogtreecommitdiff
path: root/firmware
diff options
context:
space:
mode:
authorHardeep Sidhu <dyp@pobox.com>2005-11-08 06:33:36 +0000
committerHardeep Sidhu <dyp@pobox.com>2005-11-08 06:33:36 +0000
commit1df2edb778212c9f1f1972ffc1b48ecfa6d3fba0 (patch)
tree76e68a8e8a49be990b8c940d50416dcb8789388d /firmware
parent8fef62bdacd1d10b02c2ffb2de94a4764a669137 (diff)
downloadrockbox-1df2edb778212c9f1f1972ffc1b48ecfa6d3fba0.zip
rockbox-1df2edb778212c9f1f1972ffc1b48ecfa6d3fba0.tar.gz
rockbox-1df2edb778212c9f1f1972ffc1b48ecfa6d3fba0.tar.bz2
rockbox-1df2edb778212c9f1f1972ffc1b48ecfa6d3fba0.tar.xz
Removed tabs
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7787 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware')
-rw-r--r--firmware/mpeg.c18
1 files changed, 9 insertions, 9 deletions
diff --git a/firmware/mpeg.c b/firmware/mpeg.c
index c164df5..022a321 100644
--- a/firmware/mpeg.c
+++ b/firmware/mpeg.c
@@ -1019,14 +1019,14 @@ static void stop_playing(void)
/* Is this a really the end of playback or is a new playlist starting */
static void check_playlist_end(int direction)
{
- /* Use the largest possible step size to account for skipped tracks */
- int steps = playlist_amount();
+ /* Use the largest possible step size to account for skipped tracks */
+ int steps = playlist_amount();
- if (direction < 0)
- steps = -steps;
+ if (direction < 0)
+ steps = -steps;
- if (playlist_next(steps) < 0)
- is_playing = false;
+ if (playlist_next(steps) < 0)
+ is_playing = false;
}
static void update_playlist(void)
@@ -1039,7 +1039,7 @@ static void update_playlist(void)
else
{
/* End of playlist? */
- check_playlist_end(1);
+ check_playlist_end(1);
}
playlist_update_resume_info(audio_current_track());
@@ -1415,8 +1415,8 @@ static void mpeg_thread(void)
DEBUGF("No more files to play\n");
filling = false;
- check_playlist_end(-1);
- current_track_counter++;
+ check_playlist_end(-1);
+ current_track_counter++;
} else {
/* Make it read more data */
filling = true;