From fde2d7b01d39bc3d8a3e62b60c23d20c0c7399cb Mon Sep 17 00:00:00 2001 From: Frederic Culot Date: Fri, 15 Dec 2006 15:31:46 +0000 Subject: bugfix in array sizes in load-todo() --- src/io.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/io.c b/src/io.c index 071b173..aca6419 100755 --- a/src/io.c +++ b/src/io.c @@ -1,4 +1,4 @@ -/* $calcurse: io.c,v 1.7 2006/09/15 15:43:03 culot Exp $ */ +/* $calcurse: io.c,v 1.8 2006/12/15 15:31:46 culot Exp $ */ /* * Calcurse - text-based organizer @@ -410,7 +410,7 @@ load_todo(int colr) char *nl; int nb_tod = 0; int c, id; - char buf[100], e_todo[100]; + char buf[MAX_LENGTH], e_todo[MAX_LENGTH]; data_file = fopen(path_todo, "r"); if (data_file == NULL) { -- cgit v1.2.3