1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-27 00:57:50 +00:00

The read-todos utility prints "No Date" when the todo item has no

date assigned, but the trailing "\n" was missing.
This commit is contained in:
Jimmy Olgeni 2004-02-02 22:17:03 +00:00
parent 2fdc7c1ac5
commit e4d7b1ff25
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=99839
2 changed files with 28 additions and 0 deletions

View File

@ -0,0 +1,14 @@
$FreeBSD$
--- src/read-todos.c.orig Mon Feb 2 23:09:47 2004
+++ src/read-todos.c Mon Feb 2 23:10:22 2004
@@ -184,7 +184,7 @@
printf("Priority: %d\n", t.priority);
printf("Completed: %s\n", t.complete ? "Yes" : "No");
if (t.indefinite)
- printf("Due: No Date");
+ printf("Due: No Date\n");
else
printf("Due: %s", asctime(&t.due));
if (t.description)

View File

@ -0,0 +1,14 @@
$FreeBSD$
--- src/read-todos.c.orig Mon Feb 2 23:09:47 2004
+++ src/read-todos.c Mon Feb 2 23:10:22 2004
@@ -184,7 +184,7 @@
printf("Priority: %d\n", t.priority);
printf("Completed: %s\n", t.complete ? "Yes" : "No");
if (t.indefinite)
- printf("Due: No Date");
+ printf("Due: No Date\n");
else
printf("Due: %s", asctime(&t.due));
if (t.description)