bugfix: Debian bug #377543, thanks to Neil for reporting it
This commit is contained in:
parent
0198fff6ef
commit
1b0ef789ff
@ -1,4 +1,4 @@
|
|||||||
/* $calcurse: args.c,v 1.1 2006/07/31 21:00:03 culot Exp $ */
|
/* $calcurse: args.c,v 1.2 2006/08/02 17:51:38 culot Exp $ */
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Calcurse - text-based organizer
|
* Calcurse - text-based organizer
|
||||||
@ -366,9 +366,9 @@ int
|
|||||||
check_date(char *date)
|
check_date(char *date)
|
||||||
{
|
{
|
||||||
int ok = 0;
|
int ok = 0;
|
||||||
char month[] = " ";
|
char month[3] = "";
|
||||||
char day[] = " ";
|
char day[3] = "";
|
||||||
char year[] = " ";
|
char year[5] = "";
|
||||||
if (
|
if (
|
||||||
(strlen(date) == 10) &
|
(strlen(date) == 10) &
|
||||||
(isdigit(date[0]) != 0) &
|
(isdigit(date[0]) != 0) &
|
||||||
|
Loading…
x
Reference in New Issue
Block a user