diff options
Diffstat (limited to 'plugins/save-calendar/csv-format.c')
-rw-r--r-- | plugins/save-calendar/csv-format.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/plugins/save-calendar/csv-format.c b/plugins/save-calendar/csv-format.c index 1e1bf4a7e1..4374d98143 100644 --- a/plugins/save-calendar/csv-format.c +++ b/plugins/save-calendar/csv-format.c @@ -548,14 +548,12 @@ do_save_calendar_csv (FormatHandler *handler, g_free (config->newline); g_free (config); - if (error) { + if (error != NULL) { display_error_message ( gtk_widget_get_toplevel (GTK_WIDGET (selector)), error); g_error_free (error); } - - return; } static GtkWidget * |