summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorFrederic Culot <calcurse@culot.org>2006-08-23 19:42:19 +0000
committerFrederic Culot <calcurse@culot.org>2006-08-23 19:42:19 +0000
commit46bda3301da85c37000b9e6d45dd4da6a062a7d6 (patch)
treece77cf20fe602f9eacbaa3117b5e66ba6e74e8f5 /src
parent6d7123193c96a87ee62ada9f7189e3710341fd2e (diff)
downloadcalcurse-46bda3301da85c37000b9e6d45dd4da6a062a7d6.zip
better definition of variable sizes
Diffstat (limited to 'src')
-rwxr-xr-xsrc/day.h7
1 files changed, 4 insertions, 3 deletions
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);