(no commit message)
authorJean-Philippe Orsini <jeanfi@gmail.com>
Wed, 17 Oct 2012 10:16:41 +0000 (10:16 +0000)
committerJean-Philippe Orsini <jeanfi@gmail.com>
Wed, 17 Oct 2012 10:16:41 +0000 (10:16 +0000)
src/main.c
src/note.c

index 8844001..c439fcf 100644 (file)
@@ -177,9 +177,9 @@ static int tasksave_clicked_cbk(GtkButton *btn, gpointer data)
        gtk_text_buffer_get_iter_at_offset(buf, &sIter, 0);
        gtk_text_buffer_get_iter_at_offset(buf, &eIter, -1);
        txt = gtk_text_buffer_get_text(buf, &sIter, &eIter, TRUE);
-       
+
        printf("note=%s\n", txt);
-       
+
        if (!task->note || strcmp(txt, task->note))
                note_put(task->uuid, txt);
 
index 6e48e87..f22f97d 100644 (file)
@@ -42,7 +42,7 @@ void note_put(const char *uuid, const char *note)
        path = malloc(strlen(dir) + 1 + strlen(uuid) + strlen(".note") + 1);
        sprintf(path, "%s/%s.note", dir, uuid);
 
-       printf("note_put %s %s %s \n", path, uuid, note);
+       printf("note_put %s %s %s\n", path, uuid, note);
 
        f = fopen(path, "w");