aboutsummaryrefslogtreecommitdiffstats
path: root/src/calendar.c
diff options
context:
space:
mode:
authorFrederic Culot <calcurse@culot.org>2007-01-16 07:49:54 +0000
committerFrederic Culot <calcurse@culot.org>2007-01-16 07:49:54 +0000
commit6bbf3e5f2e6777feeaf19e42d9c8bb5b2da0a428 (patch)
tree952621a0090505b0502db07201f04bffbf15aee1 /src/calendar.c
parent23e729651bf50a468afef469eaea3ef0e7544b64 (diff)
downloadcalcurse-6bbf3e5f2e6777feeaf19e42d9c8bb5b2da0a428.tar.gz
calcurse-6bbf3e5f2e6777feeaf19e42d9c8bb5b2da0a428.zip
use of getstring() defines
Diffstat (limited to 'src/calendar.c')
-rwxr-xr-xsrc/calendar.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/calendar.c b/src/calendar.c
index 6b0d40b..7a4c406 100755
--- a/src/calendar.c
+++ b/src/calendar.c
@@ -1,8 +1,8 @@
-/* $calcurse: calendar.c,v 1.5 2007/01/10 13:43:51 culot Exp $ */
+/* $calcurse: calendar.c,v 1.6 2007/01/16 07:50:59 culot Exp $ */
/*
* Calcurse - text-based organizer
- * Copyright (c) 2004-2006 Frederic Culot
+ * Copyright (c) 2004-2007 Frederic Culot
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -195,7 +195,8 @@ goto_day(int colr, int day, int month, int year,
while (wrong_day) {
status_mesg(request_date, "");
- if (getstring(swin, colr, selected_day, LDAY, 0, 1) == 1)
+ if (getstring(swin, colr, selected_day, LDAY, 0, 1) ==
+ GETSTRING_ESC)
return;
else {
if (strlen(selected_day) == 0) {