diff options
author | Frederic Culot <calcurse@culot.org> | 2008-04-04 21:30:12 +0000 |
---|---|---|
committer | Frederic Culot <calcurse@culot.org> | 2008-04-04 21:30:12 +0000 |
commit | 7a2a68de27459d3baab0c4fdeba03e7be0e5e47e (patch) | |
tree | d28660eed09da6aa4077e949908f49ae012d300a /src | |
parent | 0caec16e809f741ceb77d68135a9fd3adde8aac1 (diff) | |
download | calcurse-7a2a68de27459d3baab0c4fdeba03e7be0e5e47e.zip |
small bugfixes
Diffstat (limited to 'src')
-rwxr-xr-x | src/args.c | 9 |
1 files changed, 5 insertions, 4 deletions
@@ -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); } |