From 46bda3301da85c37000b9e6d45dd4da6a062a7d6 Mon Sep 17 00:00:00 2001 From: Frederic Culot Date: Wed, 23 Aug 2006 19:42:19 +0000 Subject: better definition of variable sizes --- src/day.h | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'src') diff --git a/src/day.h b/src/day.h index 42c9067..d864501 100755 --- a/src/day.h +++ b/src/day.h @@ -1,4 +1,4 @@ -/* $calcurse: day.h,v 1.3 2006/08/06 14:37:15 culot Exp $ */ +/* $calcurse: day.h,v 1.4 2006/08/23 19:42:19 culot Exp $ */ /* * Calcurse - text-based organizer @@ -27,6 +27,7 @@ #ifndef CALCURSE_DAY_H #define CALCURSE_DAY_H +#include "vars.h" #include "apoint.h" #define MAX_TYPES 4 @@ -48,8 +49,8 @@ struct day_item_s { struct day_saved_item_s { int type ; char *mesg; - char start[100]; - char end[100]; + char start[MAX_LENGTH]; + char end[MAX_LENGTH]; }; int day_store_items(long date, int *pnb_events, int *pnb_apoints); -- cgit v1.2.3-70-g09d2