From 2ea9684aa676126318642831471519d5680c6f83 Mon Sep 17 00:00:00 2001 From: Milan Crha Date: Fri, 22 Feb 2013 15:32:51 +0100 Subject: Bug #694363 - CALDAV navigation through Calendars or Tasklist is wrong --- modules/cal-config-caldav/e-caldav-chooser.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'modules/cal-config-caldav/e-caldav-chooser.c') diff --git a/modules/cal-config-caldav/e-caldav-chooser.c b/modules/cal-config-caldav/e-caldav-chooser.c index fefbc9829a..dcb29f1d5c 100644 --- a/modules/cal-config-caldav/e-caldav-chooser.c +++ b/modules/cal-config-caldav/e-caldav-chooser.c @@ -672,11 +672,11 @@ caldav_chooser_get_supported_component_set (xmlXPathContextPtr xp_ctx, if (name == NULL) continue; - if (g_ascii_strcasecmp (name, "VEVENT")) + if (g_ascii_strcasecmp (name, "VEVENT") == 0) set |= SUPPORTS_VEVENT; - else if (g_ascii_strcasecmp (name, "VTODO")) + else if (g_ascii_strcasecmp (name, "VTODO") == 0) set |= SUPPORTS_VTODO; - else if (g_ascii_strcasecmp (name, "VJOURNAL")) + else if (g_ascii_strcasecmp (name, "VJOURNAL") == 0) set |= SUPPORTS_VJOURNAL; g_free (name); -- cgit v1.2.3