diff options
author | Frederic Culot <calcurse@culot.org> | 2006-11-02 13:43:10 +0000 |
---|---|---|
committer | Frederic Culot <calcurse@culot.org> | 2006-11-02 13:43:10 +0000 |
commit | 3ee9a76130295b451603290df04fdb2512ef8614 (patch) | |
tree | fbc4a048bc90f0478297d29e07e9ee359a894ede /src/recur.c | |
parent | 725c1b1030de7dcdfcd0eda78df75408efa4973b (diff) | |
download | calcurse-3ee9a76130295b451603290df04fdb2512ef8614.tar.gz calcurse-3ee9a76130295b451603290df04fdb2512ef8614.zip |
calls to getstring() updated
Diffstat (limited to 'src/recur.c')
-rwxr-xr-x | src/recur.c | 6 |
1 files changed, 3 insertions, 3 deletions
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; |