summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorFrederic Culot <calcurse@culot.org>2007-08-15 15:36:49 +0000
committerFrederic Culot <calcurse@culot.org>2007-08-15 15:36:49 +0000
commit406a0b2b2f17f3804a00901606563c5b5af7623f (patch)
tree50ae70b9851ba7c63c468494b9851a3c47a2b783 /src
parent4307247a07af4362b0b298ce44f5446dac7ffe07 (diff)
downloadcalcurse-406a0b2b2f17f3804a00901606563c5b5af7623f.zip
io_load_todo() call updated in todo_arg()
Diffstat (limited to 'src')
-rwxr-xr-xsrc/args.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/args.c b/src/args.c
index 22535e7..dbe42cb 100755
--- a/src/args.c
+++ b/src/args.c
@@ -1,4 +1,4 @@
-/* $calcurse: args.c,v 1.23 2007/07/28 13:11:42 culot Exp $ */
+/* $calcurse: args.c,v 1.24 2007/08/15 15:36:49 culot Exp $ */
/*
* Calcurse - text-based organizer
@@ -133,10 +133,10 @@ static void
todo_arg(int priority)
{
struct todo_s *i;
- int nb_tod, title = 1;
+ int title = 1;
char priority_str[BUFSIZ] = "";
- nb_tod = io_load_todo();
+ io_load_todo();
for (i = todolist; i != 0; i = i->next) {
if (priority == 0 || i->id == priority) {
if (title) {