talons

Fork of Claws Mail https://www.claws-mail
Log | Files | Refs | README | LICENSE

commit 9e8bf3567c8275882260ab8189c6dcb964114322
parent 1dc3676a4dec67437a5dd09dbf60bfb6c0ce79cc
Author: paul <paul@claws-mail.org>
Date:   Wed, 21 Jul 2021 09:15:13 +0100

fix bug 4511, 'Uses deprecated ghostscript operator'

Diffstat:
Msrc/plugins/pdf_viewer/poppler_viewer.c | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git 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) {