aboutsummaryrefslogtreecommitdiffstats
path: root/src/pcal.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/pcal.c')
-rw-r--r--src/pcal.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pcal.c b/src/pcal.c
index db85e1c..1c76aa0 100644
--- a/src/pcal.c
+++ b/src/pcal.c
@@ -311,7 +311,7 @@ static void pcal_export_todo(FILE * stream)
fputs("#\n# Todos\n#\n", stream);
LLIST_FOREACH(&todolist, i) {
struct todo *todo = LLIST_TS_GET_DATA(i);
- if (todo->id < 0) /* completed items */
+ if (todo->completed)
continue;
fputs("note all ", stream);