From 45f799eb8632142a31d1dbf3572c2672bb36c747 Mon Sep 17 00:00:00 2001 From: Kjartan Maraas Date: Fri, 27 Jan 2006 16:34:03 +0000 Subject: Make this place a bit more quiet svn path=/trunk/; revision=31328 --- plugins/save-calendar/ChangeLog | 7 +++++++ plugins/save-calendar/csv-format.c | 10 +++++----- plugins/save-calendar/save-calendar.c | 3 +-- 3 files changed, 13 insertions(+), 7 deletions(-) (limited to 'plugins/save-calendar') diff --git a/plugins/save-calendar/ChangeLog b/plugins/save-calendar/ChangeLog index 7e97e80a8b..5776d140f0 100644 --- a/plugins/save-calendar/ChangeLog +++ b/plugins/save-calendar/ChangeLog @@ -1,3 +1,10 @@ +2006-01-09 Kjartan Maraas + + * csv-format.c: (string_needsquotes): + * save-calendar.c: (ask_destination_and_save): Fix confusion + between = and ==. Silences the compiler, but someone has to check + if this really is correct. + 2006-01-10 Simon Zheng * csv-format.c: diff --git a/plugins/save-calendar/csv-format.c b/plugins/save-calendar/csv-format.c index ff53c737e2..39d373775f 100644 --- a/plugins/save-calendar/csv-format.c +++ b/plugins/save-calendar/csv-format.c @@ -229,15 +229,15 @@ string_needsquotes (const char *value, CsvConfig *config) if (!needquotes) { gint len = strlen (config->delimiter); - if ((len == 2) && (config->delimiter[1] = ' ')) { + if ((len == 2) && (config->delimiter[1] == ' ')) { needquotes = strchr (value, config->delimiter[0])?TRUE:FALSE; if (!needquotes) { - gint len = strlen (config->newline); - if ((len == 2) && (config->newline[1] = ' ')) { + len = strlen (config->newline); + if ((len == 2) && (config->newline[1] == ' ')) { needquotes = strchr (value, config->newline[0])?TRUE:FALSE; if (!needquotes) { - gint len = strlen (config->quote); - if ((len == 2) && (config->quote[1] = ' ')) { + len = strlen (config->quote); + if ((len == 2) && (config->quote[1] == ' ')) { needquotes = strchr (value, config->quote[0])?TRUE:FALSE; } diff --git a/plugins/save-calendar/save-calendar.c b/plugins/save-calendar/save-calendar.c index 2abdd54951..947f4652d3 100644 --- a/plugins/save-calendar/save-calendar.c +++ b/plugins/save-calendar/save-calendar.c @@ -139,8 +139,7 @@ ask_destination_and_save (EPlugin *ep, ECalPopupTargetSource *target, ECalSource renderer, "text", DEST_NAME_COLUMN, NULL); while (format_handlers) { - FormatHandler *handler = format_handlers->data; - + handler = format_handlers->data; gtk_list_store_append (store, &iter); gtk_list_store_set (store, &iter, DEST_NAME_COLUMN, handler->combo_label, -1); -- cgit