MAX_LENGTH replaced by stdio.h's BUFSIZ

This commit is contained in:
Frederic Culot
2007-04-04 19:38:18 +00:00
parent be46b49384
commit 2496888682
8 changed files with 63 additions and 56 deletions

View File

@@ -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;