From: Max Kellermann Date: Mon, 22 Sep 2008 08:05:52 +0000 (+0200) Subject: screen: last_cmd should be a command_t X-Git-Tag: v0.12_alpha1~190 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=aaac278ea54a4cebbda9508c1a4e7ec93a71f4e9;p=ncmpc.git 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. --- diff --git a/src/screen.h b/src/screen.h index 0165abb..aad9852 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;