From 407a262938a3aafb3be7d3077b4bf3c0656f4abe Mon Sep 17 00:00:00 2001 From: Frederic Culot Date: Sun, 20 Jan 2008 10:45:38 +0000 Subject: Code parts related to item update rewritten --- src/io.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'src/io.c') diff --git a/src/io.c b/src/io.c index ad9f445..bb300d5 100755 --- a/src/io.c +++ b/src/io.c @@ -1,4 +1,4 @@ -/* $calcurse: io.c,v 1.26 2008/01/17 19:35:42 culot Exp $ */ +/* $calcurse: io.c,v 1.27 2008/01/20 10:45:38 culot Exp $ */ /* * Calcurse - text-based organizer @@ -654,7 +654,7 @@ io_load_app(void) if (c == '>') { fgets(note, NOTESIZ + 1, data_file); note[NOTESIZ] = '\0'; - notep = strdup(note); + notep = note; getc(data_file); } else { notep = NULL; @@ -680,7 +680,8 @@ io_load_app(void) recur_apoint_scan(data_file, start, end, type, freq, until, notep, exc, state); } else { - apoint_scan(data_file, start, end, state, notep); + apoint_scan(data_file, start, end, state, + notep); } } else if (is_event) { if (is_recursive) { -- cgit v1.2.3-54-g00ecf