[Commits] [SCM] claws branch, master, updated. 3.18.0-10-g9e8bf3567

paul at claws-mail.org paul at claws-mail.org
Wed Jul 21 10:18:14 CEST 2021


The branch, master has been updated
       via  9e8bf3567c8275882260ab8189c6dcb964114322 (commit)
      from  1dc3676a4dec67437a5dd09dbf60bfb6c0ce79cc (commit)

Summary of changes:
 src/plugins/pdf_viewer/poppler_viewer.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)


- Log -----------------------------------------------------------------
commit 9e8bf3567c8275882260ab8189c6dcb964114322
Author: paul <paul at claws-mail.org>
Date:   Wed Jul 21 09:15:13 2021 +0100

    fix bug 4511, 'Uses deprecated ghostscript operator'

diff --git a/src/plugins/pdf_viewer/poppler_viewer.c b/src/plugins/pdf_viewer/poppler_viewer.c
index 980ea724e..15ccdc71b 100644
--- a/src/plugins/pdf_viewer/poppler_viewer.c
+++ b/src/plugins/pdf_viewer/poppler_viewer.c
@@ -1,6 +1,6 @@
 /*
  * Claws Mail -- a GTK+ based, lightweight, and fast e-mail client
- * Copyright (C) 1999-2016 Salvatore De Paolis & the Claws Mail Team
+ * Copyright (C) 1999-2021 the Claws Mail Team and Salvatore De Paolis
  *
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
@@ -1333,7 +1333,7 @@ static void pdf_viewer_update(MimeViewer *_viewer, gboolean reload_file, int pag
 				tmpfile = get_tmp_file();
 				cmdline = g_strdup_printf(
 					"gs -dSAFER -dCompatibilityLevel=1.2 -q -dNOPAUSE -dBATCH "
-					  "-sDEVICE=pdfwrite -sOutputFile=%s -c .setpdfwrite -f \"%s\"",
+					  "-sDEVICE=pdfwrite -sOutputFile=%s -f \"%s\"",
 					tmpfile, viewer->filename);
 				result = execute_command_line(cmdline, FALSE, NULL);
 				if (result == 0) {

-----------------------------------------------------------------------


hooks/post-receive
-- 
Claws Mail


More information about the Commits mailing list