diff options
author | Frederic Culot <calcurse@culot.org> | 2006-12-15 15:31:46 +0000 |
---|---|---|
committer | Frederic Culot <calcurse@culot.org> | 2006-12-15 15:31:46 +0000 |
commit | fde2d7b01d39bc3d8a3e62b60c23d20c0c7399cb (patch) | |
tree | 4583140e0d829d4211a47f1dd3e0b314fde3833a | |
parent | 6da1452a0f4baecde86bd1a21d908105ba895975 (diff) | |
download | calcurse-fde2d7b01d39bc3d8a3e62b60c23d20c0c7399cb.tar.gz calcurse-fde2d7b01d39bc3d8a3e62b60c23d20c0c7399cb.zip |
bugfix in array sizes in load-todo()
-rwxr-xr-x | src/io.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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) { |