diff options
Diffstat (limited to 'opplysning.c')
| -rw-r--r-- | opplysning.c | 2 |
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) |
