aboutsummaryrefslogtreecommitdiffstats
path: root/src/day.h
diff options
context:
space:
mode:
authorFrederic Culot <calcurse@culot.org>2007-04-04 19:38:18 +0000
committerFrederic Culot <calcurse@culot.org>2007-04-04 19:38:18 +0000
commit24968886824da7d4af308a113d550f4dc97bba48 (patch)
tree7f2864a554739f7c9fdb42ccd23d163ee32cd35b /src/day.h
parentbe46b493841cbaad45719f496445e5151b9db226 (diff)
downloadcalcurse-24968886824da7d4af308a113d550f4dc97bba48.tar.gz
calcurse-24968886824da7d4af308a113d550f4dc97bba48.zip
MAX_LENGTH replaced by stdio.h's BUFSIZ
Diffstat (limited to 'src/day.h')
-rwxr-xr-xsrc/day.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/day.h b/src/day.h
index 2363bc9..c59e813 100755
--- a/src/day.h
+++ b/src/day.h
@@ -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;