From aaac278ea54a4cebbda9508c1a4e7ec93a71f4e9 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Mon, 22 Sep 2008 10:05:52 +0200 Subject: [PATCH] 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. --- src/screen.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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; -- 2.30.2