diff options
Diffstat (limited to 'shell/ev-print-operation.c')
-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 48d69a1..17b7913 100644 --- a/shell/ev-print-operation.c +++ b/shell/ev-print-operation.c @@ -1100,7 +1100,7 @@ ev_print_operation_export_print_dialog_response_cb (GtkDialog *dial get_first_and_last_page (export, &first_page, &last_page); - export->fc.format = g_ascii_strcasecmp (file_format, "pdf") == 0 ? + export->fc.format = file_format && g_ascii_strcasecmp (file_format, "pdf") == 0 ? EV_FILE_FORMAT_PDF : EV_FILE_FORMAT_PS; export->fc.filename = export->temp_file; export->fc.first_page = MIN (first_page, last_page); |