summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Stensgård <mastensg@mastensg.net>2025-07-11 20:46:34 +0200
committerMartin Stensgård <mastensg@mastensg.net>2025-07-11 20:46:34 +0200
commite6d85d4516b7d79304c8bb331a05f9ea15070967 (patch)
treeb8e510721043f6273226ae536da7c4fb960b68c4
parente896233bcf6ae9d21467d22910f3dfe134fae423 (diff)
opplysning: add event whitespace
-rw-r--r--opplysning.c2
1 files changed, 1 insertions, 1 deletions
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)