aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorFrederic Culot <calcurse@culot.org>2006-09-30 14:23:07 +0000
committerFrederic Culot <calcurse@culot.org>2006-09-30 14:23:07 +0000
commit5dc875faf925c3ba008b8f9c8bba1c4b8acb6a84 (patch)
treef18be6b7fcd34f97cdd3cc870249c204c778bce7 /src
parent518b91cc59465ce8c951db2959f5fb5a37877816 (diff)
downloadcalcurse-5dc875faf925c3ba008b8f9c8bba1c4b8acb6a84.tar.gz
calcurse-5dc875faf925c3ba008b8f9c8bba1c4b8acb6a84.zip
bugfix: a number of minutes can no longer be entered while creating a new appointment
Diffstat (limited to 'src')
-rwxr-xr-xsrc/calcurse.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/calcurse.c b/src/calcurse.c
index cff12da..4f3359f 100755
--- a/src/calcurse.c
+++ b/src/calcurse.c
@@ -1,4 +1,4 @@
-/* $calcurse: calcurse.c,v 1.22 2006/09/30 09:18:21 culot Exp $ */
+/* $calcurse: calcurse.c,v 1.23 2006/09/30 14:23:07 culot Exp $ */
/*
* Calcurse - text-based organizer
@@ -1095,7 +1095,7 @@ void add_item(void)
/* Get the starting time */
strncpy(item_time, " ", 6);
- while (check_time(item_time) == 0) {
+ while (check_time(item_time) != 1) {
status_mesg(mesg_1, "");
getstring(swin, colr, item_time, 0, 1);
if (strlen(item_time) == 0){