Fix %(hash) formatting of events
Actually print the hash instead of raw object data. Signed-off-by: Lukas Fleischer <lfleischer@calcurse.org>
This commit is contained in:
parent
62f04c3f9a
commit
4ada3deda2
@ -1511,9 +1511,9 @@ static void print_event_helper(const char *format, long day, struct event *ev,
|
||||
break;
|
||||
case FS_HASH:
|
||||
if (rev)
|
||||
printf("%s", recur_event_tostr(rev));
|
||||
printf("%s", recur_event_hash(rev));
|
||||
else
|
||||
printf("%s", event_tostr(ev));
|
||||
printf("%s", event_hash(ev));
|
||||
break;
|
||||
case FS_EOF:
|
||||
return;
|
||||
|
Loading…
x
Reference in New Issue
Block a user