aboutsummaryrefslogtreecommitdiffstats
path: root/src/utils.c
diff options
context:
space:
mode:
authorLukas Fleischer <lfleischer@calcurse.org>2016-02-05 16:43:39 +0100
committerLukas Fleischer <lfleischer@calcurse.org>2016-02-05 19:11:43 +0100
commit4ada3deda275ca26a1f809af87a6e81d7920c07c (patch)
tree42d03aa29352c9051ab7aa3672ee5f460ea9db94 /src/utils.c
parent62f04c3f9af7860f1f722c1c450cedcae4c3eff4 (diff)
downloadcalcurse-4ada3deda275ca26a1f809af87a6e81d7920c07c.tar.gz
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>
Diffstat (limited to 'src/utils.c')
-rw-r--r--src/utils.c4
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;