From b4b5a28b9a6b025d7f3739686cddc6acdbcbdd55 Mon Sep 17 00:00:00 2001 From: JP Rosevear Date: Fri, 27 Apr 2001 03:18:53 +0000 Subject: use enums not hard code values 2001-04-26 JP Rosevear * gui/e-meeting-edit.c (edit_attendee): use enums not hard code values svn path=/trunk/; revision=9613 --- calendar/gui/e-meeting-edit.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'calendar/gui/e-meeting-edit.c') diff --git a/calendar/gui/e-meeting-edit.c b/calendar/gui/e-meeting-edit.c index 76a1caf74d..9aac1f6b83 100644 --- a/calendar/gui/e-meeting-edit.c +++ b/calendar/gui/e-meeting-edit.c @@ -327,7 +327,7 @@ edit_attendee (icalproperty *prop, gpointer data) for (cntr = 0; cntr < 5; cntr++) { if (strncmp (text, role_values[cntr], 3) == 0) { - param = icalparameter_new_role (cntr); + param = icalparameter_new_role (ICAL_ROLE_CHAIR + cntr); break; } } -- cgit