X-Git-Url: https://code.citadel.org/?a=blobdiff_plain;f=webcit%2Fevent.c;h=24e9bd4c467d1f5e64593e0e0542df586b0f5a18;hb=184fff284c8d0928b4242e19e55c55c61afbe95a;hp=eb016a2754158a748ae3542d0f4999f4480f160d;hpb=f62879984d22f38f3c112df50b15599c88ca89bd;p=citadel.git 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("