diff options
author | Lukas Fleischer <lfleischer@calcurse.org> | 2016-02-05 16:43:39 +0100 |
---|---|---|
committer | Lukas Fleischer <lfleischer@calcurse.org> | 2016-02-05 19:11:43 +0100 |
commit | 4ada3deda275ca26a1f809af87a6e81d7920c07c (patch) | |
tree | 42d03aa29352c9051ab7aa3672ee5f460ea9db94 | |
parent | 62f04c3f9af7860f1f722c1c450cedcae4c3eff4 (diff) | |
download | calcurse-4ada3deda275ca26a1f809af87a6e81d7920c07c.zip |
Fix %(hash) formatting of events
Actually print the hash instead of raw object data.
Signed-off-by: Lukas Fleischer <lfleischer@calcurse.org>
-rw-r--r-- | src/utils.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/utils.c b/src/utils.c index a5e1196..a6ccec9 100644 --- a/src/utils.c +++ b/src/utils.c @@ -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; |