summaryrefslogtreecommitdiff
path: root/src/utils.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/utils.c')
-rw-r--r--src/utils.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/utils.c b/src/utils.c
index 21190f0..fa4cefe 100644
--- a/src/utils.c
+++ b/src/utils.c
@@ -1045,6 +1045,9 @@ print_apoint (const char *format, long day, struct apoint *apt)
case 'N':
print_notefile (stdout, apt->note, 1);
break;
+ case '%':
+ putchar ('%');
+ break;
case '\0':
return;
break;
@@ -1079,6 +1082,9 @@ print_event (const char *format, long day, struct event *ev)
case 'N':
print_notefile (stdout, ev->note, 1);
break;
+ case '%':
+ putchar ('%');
+ break;
case '\0':
return;
break;
@@ -1143,6 +1149,9 @@ print_todo (const char *format, struct todo *todo)
case 'N':
print_notefile (stdout, todo->note, 1);
break;
+ case '%':
+ putchar ('%');
+ break;
case '\0':
return;
break;