diff options
-rw-r--r-- | calendar/ChangeLog | 7 | ||||
-rw-r--r-- | calendar/gui/e-cal-model-calendar.c | 4 |
2 files changed, 9 insertions, 2 deletions
diff --git a/calendar/ChangeLog b/calendar/ChangeLog index 25b85c9816..71632ccf0b 100644 --- a/calendar/ChangeLog +++ b/calendar/ChangeLog @@ -1,3 +1,10 @@ +2005-09-28 Tor Lillqvist <tml@novell.com> + + * gui/e-cal-model-calendar.c (set_transparency): Use + g_ascii_strcasecmp() instead of strcasecmp(). We are comparing to + literal ASCII strings, just casefolding ASCII is enough. Also + better for portability. + 2005-09-08 P. S. Chakravarthi <pchakravarthi@novell.com> Fix #261625 diff --git a/calendar/gui/e-cal-model-calendar.c b/calendar/gui/e-cal-model-calendar.c index a03ffe37a4..aa3d667b62 100644 --- a/calendar/gui/e-cal-model-calendar.c +++ b/calendar/gui/e-cal-model-calendar.c @@ -308,9 +308,9 @@ set_transparency (ECalModelComponent *comp_data, const void *value) } else { icalproperty_transp transp; - if (!strcasecmp (value, "FREE")) + if (!g_ascii_strcasecmp (value, "FREE")) transp = ICAL_TRANSP_TRANSPARENT; - else if (!strcasecmp (value, "OPAQUE")) + else if (!g_ascii_strcasecmp (value, "OPAQUE")) transp = ICAL_TRANSP_OPAQUE; else { if (prop) { |