Bug fix: If there are no tags, emit a "*" when doing NOTE reminder ...

This commit is contained in:
David F. Skoll
2010-10-12 15:39:08 -04:00
parent 6d047c2856
commit 643f394e6a

View File

@@ -236,7 +236,11 @@ void HandleQueuedReminders(void)
printf("NOTE reminder %s",
SimpleTime(q->tt.ttime));
printf("%s", SimpleTime(SystemTime(0)/60));
printf("%s\n", DBufValue(&(q->tags)));
if (!*DBufValue(&q->tags)) {
printf("*\n");
} else {
printf("%s\n", DBufValue(&(q->tags)));
}
}
/* Set up global variables so some functions like trigdate()