From 3ee9a76130295b451603290df04fdb2512ef8614 Mon Sep 17 00:00:00 2001 From: Frederic Culot Date: Thu, 2 Nov 2006 13:43:10 +0000 Subject: calls to getstring() updated --- src/recur.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src') diff --git a/src/recur.c b/src/recur.c index 6b87d59..4bff8db 100755 --- a/src/recur.c +++ b/src/recur.c @@ -1,4 +1,4 @@ -/* $calcurse: recur.c,v 1.15 2006/10/28 10:34:33 culot Exp $ */ +/* $calcurse: recur.c,v 1.16 2006/11/02 13:43:10 culot Exp $ */ /* * Calcurse - text-based organizer @@ -562,7 +562,7 @@ void recur_repeat_item(int sel_year, int sel_month, int sel_day, while (freq == 0) { status_mesg(mesg_freq_1, ""); - if (getstring(swin, colr, user_input, 0, 1) == 0) { + if (getstring(swin, colr, user_input, MAX_LENGTH, 0, 1) == 0) { freq = atoi(user_input); if (freq == 0) { status_mesg(mesg_wrong_freq, wrong_type_2); @@ -576,7 +576,7 @@ void recur_repeat_item(int sel_year, int sel_month, int sel_day, while (!date_entered) { status_mesg(mesg_until_1, ""); - if (getstring(swin, colr, user_input, 0, 1) == 0) { + if (getstring(swin, colr, user_input, 11, 0, 1) == 0) { if (strlen(user_input) == 1 && strncmp(user_input, "0", 1) == 0 ) { until = 0; -- cgit v1.2.3-70-g09d2