diff options
Diffstat (limited to 'shell')
-rw-r--r-- | shell/ev-print-operation.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/shell/ev-print-operation.c b/shell/ev-print-operation.c index efb00a9..4e78c3f 100644 --- a/shell/ev-print-operation.c +++ b/shell/ev-print-operation.c @@ -1148,7 +1148,7 @@ ev_print_operation_export_print_dialog_response_cb (GtkDialog *dial file_format = gtk_print_settings_get (print_settings, GTK_PRINT_SETTINGS_OUTPUT_FILE_FORMAT); - filename = g_strdup_printf ("evince_print.%s.XXXXXX", file_format); + filename = g_strdup_printf ("evince_print.%s.XXXXXX", file_format != NULL ? file_format : ""); export->fd = g_file_open_tmp (filename, &export->temp_file, &error); g_free (filename); if (export->fd <= -1) { |