aboutsummaryrefslogtreecommitdiffstats
path: root/src/screen.h
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2008-09-22 10:05:52 +0200
committerMax Kellermann <max@duempel.org>2008-09-22 10:05:52 +0200
commitaaac278ea54a4cebbda9508c1a4e7ec93a71f4e9 (patch)
tree9344b69ec6d094a44bd480a747f8db0cae42b772 /src/screen.h
parent6b94942c5651383925896ea4469e49e6c77bd69a (diff)
downloadmpd-aaac278ea54a4cebbda9508c1a4e7ec93a71f4e9.tar.gz
mpd-aaac278ea54a4cebbda9508c1a4e7ec93a71f4e9.tar.xz
mpd-aaac278ea54a4cebbda9508c1a4e7ec93a71f4e9.zip
screen: last_cmd should be a command_t
last_cmd stores the previous command sent to the screen. It is not a timestamp, and its type should be command_t.
Diffstat (limited to '')
-rw-r--r--src/screen.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/screen.h b/src/screen.h
index 0165abb21..aad9852a0 100644
--- a/src/screen.h
+++ b/src/screen.h
@@ -28,7 +28,8 @@ typedef struct screen {
/* GTime is equivalent to time_t */
GTime start_timestamp;
GTime status_timestamp;
- GTime last_cmd;
+
+ command_t last_cmd;
int cols, rows;