aboutsummaryrefslogtreecommitdiffstats
path: root/src/screen.c
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2008-09-16 19:11:36 +0200
committerMax Kellermann <max@duempel.org>2008-09-16 19:11:36 +0200
commit995f5d3e3b6b7f35e44dfe050b7741b67ce13014 (patch)
tree0f0cb4a2e28c4c973762bfad2fe57d0a69668359 /src/screen.c
parentff86aacd52311a9da80a147226d28f46b35f2ef8 (diff)
downloadmpd-995f5d3e3b6b7f35e44dfe050b7741b67ce13014.tar.gz
mpd-995f5d3e3b6b7f35e44dfe050b7741b67ce13014.tar.xz
mpd-995f5d3e3b6b7f35e44dfe050b7741b67ce13014.zip
code style, indent with tabs II
Follow the same code style als MPD itself.
Diffstat (limited to '')
-rw-r--r--src/screen.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/src/screen.c b/src/screen.c
index 3db9730e8..e89e4ebf8 100644
--- a/src/screen.c
+++ b/src/screen.c
@@ -767,12 +767,10 @@ screen_update(mpdclient_t *c)
void
screen_idle(mpdclient_t *c)
{
- if( c->song && seek_id == c->song->id &&
+ if (c->song && seek_id == c->song->id &&
(screen->last_cmd == CMD_SEEK_FORWARD ||
- screen->last_cmd == CMD_SEEK_BACKWARD) )
- {
- mpdclient_cmd_seek(c, seek_id, seek_target_time);
- }
+ screen->last_cmd == CMD_SEEK_BACKWARD))
+ mpdclient_cmd_seek(c, seek_id, seek_target_time);
screen->last_cmd = CMD_NONE;
seek_id = -1;