aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--modules/cal-config-caldav/e-caldav-chooser.c6
1 files changed, 3 insertions, 3 deletions
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);