From 7a2a68de27459d3baab0c4fdeba03e7be0e5e47e Mon Sep 17 00:00:00 2001 From: Frederic Culot Date: Fri, 4 Apr 2008 21:30:12 +0000 Subject: small bugfixes --- src/args.c | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'src') diff --git a/src/args.c b/src/args.c index ca84cb6..0dd196f 100755 --- a/src/args.c +++ b/src/args.c @@ -1,4 +1,4 @@ -/* $calcurse: args.c,v 1.27 2007/10/16 19:09:18 culot Exp $ */ +/* $calcurse: args.c,v 1.28 2008/04/04 21:30:12 culot Exp $ */ /* * Calcurse - text-based organizer @@ -238,7 +238,7 @@ app_arg(int add_line, date_t *day, long date) arg_print_date(today); print_date = false; } - fputs(" o ", stdout); + fputs(" * ", stdout); fputs(re->mesg, stdout); fputs("\n", stdout); } } @@ -254,7 +254,7 @@ app_arg(int add_line, date_t *day, long date) arg_print_date(today); print_date = false; } - fputs(" o ",stdout); + fputs(" * ",stdout); fputs(j->mesg,stdout); fputs("\n",stdout); } } @@ -352,7 +352,8 @@ date_arg(char *ddate, int add_line) day.mm = t.tm_mon + 1; day.yyyy = t.tm_year + 1900; app_found = app_arg(add_line, &day, 0); - add_line = app_found; + if (app_found) + add_line = 1; t.tm_mday++; mktime(&t); } -- cgit v1.2.3-70-g09d2