aboutsummaryrefslogtreecommitdiffstats
path: root/src/screen.c
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2008-09-22 10:05:48 +0200
committerMax Kellermann <max@duempel.org>2008-09-22 10:05:48 +0200
commit6b94942c5651383925896ea4469e49e6c77bd69a (patch)
treee32234765c4c3f253d33dee632a3db32322d27f9 /src/screen.c
parente6d6231b4de336f60bc5b07331e2f1f01096c66c (diff)
downloadmpd-6b94942c5651383925896ea4469e49e6c77bd69a.tar.gz
mpd-6b94942c5651383925896ea4469e49e6c77bd69a.tar.xz
mpd-6b94942c5651383925896ea4469e49e6c77bd69a.zip
screen: moved input_timestamp to screen_play.c
Since the input_timestamp is only used by screen_play, move it there.
Diffstat (limited to '')
-rw-r--r--src/screen.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/screen.c b/src/screen.c
index a76438b9c..c7fece70e 100644
--- a/src/screen.c
+++ b/src/screen.c
@@ -547,7 +547,6 @@ screen_init(mpdclient_t *c)
screen.findbuf = NULL;
screen.painted = 0;
screen.start_timestamp = time(NULL);
- screen.input_timestamp = time(NULL);
screen.last_cmd = CMD_NONE;
/* create top window */
@@ -858,7 +857,6 @@ screen_client_cmd(mpdclient_t *c, command_t cmd)
void
screen_cmd(mpdclient_t *c, command_t cmd)
{
- screen.input_timestamp = time(NULL);
screen.last_cmd = cmd;
welcome = FALSE;