From 54da4fc09cf226fdb59b9f0c70555e2e57dc1f91 Mon Sep 17 00:00:00 2001 From: Matthew Barnes Date: Sun, 8 May 2011 13:24:42 -0400 Subject: Coding style cleanups. --- plugins/save-calendar/csv-format.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'plugins/save-calendar/csv-format.c') diff --git a/plugins/save-calendar/csv-format.c b/plugins/save-calendar/csv-format.c index 8bfec0df55..8692908544 100644 --- a/plugins/save-calendar/csv-format.c +++ b/plugins/save-calendar/csv-format.c @@ -96,10 +96,10 @@ add_list_to_csv (GString *line, GSList *list_in, CsvConfig *config, gint type) needquotes = TRUE; switch (type) { case ECALCOMPONENTATTENDEE: - str = ((ECalComponentAttendee*)list->data)->value; + str = ((ECalComponentAttendee*) list->data)->value; break; case ECALCOMPONENTTEXT: - str = ((ECalComponentText*)list->data)->value; + str = ((ECalComponentText*) list->data)->value; break; case CONSTCHAR: default: @@ -109,7 +109,7 @@ add_list_to_csv (GString *line, GSList *list_in, CsvConfig *config, gint type) if (!needquotes) needquotes = string_needsquotes (str, config); if (str) - tmp = g_string_append (tmp, (const gchar *)str); + tmp = g_string_append (tmp, (const gchar *) str); list = g_slist_next (list); cnt++; if (list) tmp = g_string_append (tmp, config->delimiter); @@ -248,7 +248,7 @@ add_string_to_csv (GString *line, const gchar *value, CsvConfig *config) if (needquotes) line = g_string_append (line, config->quote); - line = g_string_append (line, (const gchar *)value); + line = g_string_append (line, (const gchar *) value); if (needquotes) line = g_string_append (line, config->quote); } -- cgit v1.2.3