From e6d85d4516b7d79304c8bb331a05f9ea15070967 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Stensg=C3=A5rd?= Date: Fri, 11 Jul 2025 20:46:34 +0200 Subject: opplysning: add event whitespace --- opplysning.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/opplysning.c b/opplysning.c index a6a6d4d..ba4d9c9 100644 --- a/opplysning.c +++ b/opplysning.c @@ -218,7 +218,7 @@ void draw_event(int x, int y, struct timespec now, const struct event *e) { char s[128] = {0}; - snprintf(s, sizeof(s), "%02u:%02u-%02u:%02u %s", e->hour, e->minute, + snprintf(s, sizeof(s), "%02u:%02u - %02u:%02u %s", e->hour, e->minute, e->end_hour, e->end_minute, e->title); Color c = R.fg; if (e->start <= now.tv_sec && now.tv_sec < e->end) -- cgit v1.2.3