diff options
author | Frederic Culot <calcurse@culot.org> | 2007-04-04 19:38:18 +0000 |
---|---|---|
committer | Frederic Culot <calcurse@culot.org> | 2007-04-04 19:38:18 +0000 |
commit | 24968886824da7d4af308a113d550f4dc97bba48 (patch) | |
tree | 7f2864a554739f7c9fdb42ccd23d163ee32cd35b /src/day.h | |
parent | be46b493841cbaad45719f496445e5151b9db226 (diff) | |
download | calcurse-24968886824da7d4af308a113d550f4dc97bba48.zip |
MAX_LENGTH replaced by stdio.h's BUFSIZ
Diffstat (limited to 'src/day.h')
-rwxr-xr-x | src/day.h | 8 |
1 files changed, 5 insertions, 3 deletions
@@ -1,4 +1,4 @@ -/* $calcurse: day.h,v 1.10 2007/03/10 15:55:25 culot Exp $ */ +/* $calcurse: day.h,v 1.11 2007/04/04 19:41:27 culot Exp $ */ /* * Calcurse - text-based organizer @@ -27,6 +27,8 @@ #ifndef CALCURSE_DAY_H #define CALCURSE_DAY_H +#include <stdio.h> + #include "vars.h" #include "apoint.h" @@ -49,8 +51,8 @@ struct day_item_s { }; struct day_saved_item_s { - char start[MAX_LENGTH]; - char end[MAX_LENGTH]; + char start[BUFSIZ]; + char end[BUFSIZ]; char state; char type ; char *mesg; |