pomo

A simple pomodoro timer
Log | Files | Refs | README | LICENSE

commit 9fcdf89e0622a789b308e96014c44d7aea2a6971
parent 75ad568b48d07c778337eb6fe6e13bfb8bb7f20b
Author: Ivan Tham <pickfire@riseup.net>
Date:   Mon, 15 Jun 2020 00:43:06 +0800

Fix output truncation warning

Diffstat:
Mspt.c | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/spt.c b/spt.c @@ -83,9 +83,9 @@ notify_send(char *cmt) void display_state(int remaining, int suspend) { - char buf[21]; + char buf[29]; - snprintf(buf, 21, "Remaining: %02d:%02d %s", + snprintf(buf, 29, "Remaining: %02d:%02d %s", remaining / 60, remaining % 60, (suspend) ? "◼" : "▶");