bugfix: a number of minutes can no longer be entered while creating a new appointment
This commit is contained in:
parent
518b91cc59
commit
5dc875faf9
@ -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){
|
||||
|
Loading…
x
Reference in New Issue
Block a user