summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
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){