From: Art Cancro Date: Tue, 21 Oct 2008 16:40:55 +0000 (+0000) Subject: more work on the recurrence editor X-Git-Tag: v7.86~1839 X-Git-Url: https://code.citadel.org/?p=citadel.git;a=commitdiff_plain;h=184fff284c8d0928b4242e19e55c55c61afbe95a more work on the recurrence editor --- diff --git a/webcit/event.c b/webcit/event.c index eb016a275..24e9bd4c4 100644 --- a/webcit/event.c +++ b/webcit/event.c @@ -529,7 +529,6 @@ void display_edit_individual_event(icalcomponent *supplied_vevent, long msgnum, ((which_rrmonthtype_is_preselected == 0) ? "checked" : "") ); - char mdaybox[256]; int rrmday = 1; /* FIXME default to same as event start */ int rrmweek = 1; /* FIXME default to same as event start */ int rrmweekday = 1; /* FIXME default to same as event start */ @@ -544,10 +543,7 @@ void display_edit_individual_event(icalcomponent *supplied_vevent, long msgnum, rrmweekday = icalrecurrencetype_day_day_of_week(recur.by_day[0]) - 1; } - snprintf(mdaybox, sizeof mdaybox, - "", rrmday); - wprintf(_("on day %s of the month"), mdaybox); + wprintf(_("on day %s%d%s of the month"), "", rrmday, ""); wprintf("
\n"); wprintf("