summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorFrederic Culot <calcurse@culot.org>2006-08-02 17:51:38 +0000
committerFrederic Culot <calcurse@culot.org>2006-08-02 17:51:38 +0000
commit1b0ef789ff25d63e28d22973aaaa8bca9bc97cdb (patch)
tree8db1d416dcdeab149fabeee260d6380f4f3da251 /src
parent0198fff6ef058211d122bfb5808e4d7dee32cdf3 (diff)
downloadcalcurse-1b0ef789ff25d63e28d22973aaaa8bca9bc97cdb.tar.gz
calcurse-1b0ef789ff25d63e28d22973aaaa8bca9bc97cdb.zip
bugfix: Debian bug #377543, thanks to Neil for reporting it
Diffstat (limited to 'src')
-rwxr-xr-xsrc/args.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/args.c b/src/args.c
index 2261640..8718274 100755
--- a/src/args.c
+++ b/src/args.c
@@ -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
@@ -366,9 +366,9 @@ int
check_date(char *date)
{
int ok = 0;
- char month[] = " ";
- char day[] = " ";
- char year[] = " ";
+ char month[3] = "";
+ char day[3] = "";
+ char year[5] = "";
if (
(strlen(date) == 10) &
(isdigit(date[0]) != 0) &