diff --git a/spt.c b/spt.c index 9361586..9e5bb04 100644 --- 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) ? "◼" : "▶");