X-Git-Url: http://git.wpitchoune.net/gitweb/?a=blobdiff_plain;f=src%2Fmain.c;fp=src%2Fmain.c;h=c439fcf3701b130c919ea600c8d9fc989fa4bfc2;hb=8036222a5a9454b6af7667ffdaf1efdd6f077633;hp=88440010b3f4e968023dbdf51a5817ead83259ee;hpb=43a370feaf206521795b2549b571db5f29b8cf61;p=ptask.git diff --git a/src/main.c b/src/main.c index 8844001..c439fcf 100644 --- a/src/main.c +++ b/src/main.c @@ -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);