From 0cf5a53cb708185ddf5a4e9ed74d15ba66410afe Mon Sep 17 00:00:00 2001
From: Kubat <mael.martin31@gmail.com>
Date: Sat, 10 Oct 2020 19:36:11 +0200
Subject: [PATCH] Correct output for lkt status

Use a 2 digits output for seconds, even if the number of seconds is less than 10.
---
 src/main/lkt.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/main/lkt.c b/src/main/lkt.c
index 2bfe27ff..caa4f808 100644
--- a/src/main/lkt.c
+++ b/src/main/lkt.c
@@ -651,7 +651,7 @@ status__(struct cmd_args *args)
 
     printf("Lektor: %s\n"
            "Queue: #%d/%d\n"
-           "Playback: %d:%d/%d:%d\n"
+           "Playback: %d:%02d/%d:%02d\n"
            "Flags: %s\n"
            "%s: %s\n",
            play ? "play" : "stopped",
-- 
GitLab