From 3dd518887e9c80bdb51b91b1c86754600fe4da2b Mon Sep 17 00:00:00 2001 From: Maxim Sobolev Date: Sat, 2 Feb 2002 19:04:39 +0000 Subject: Fix a bug preventing from viewing pdf files. Submitted by: Tomas Kindahl --- print/ggv/files/patch-src::gtkgs.c | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 print/ggv/files/patch-src::gtkgs.c (limited to 'print/ggv/files') diff --git a/print/ggv/files/patch-src::gtkgs.c b/print/ggv/files/patch-src::gtkgs.c new file mode 100644 index 000000000000..85407be0e274 --- /dev/null +++ b/print/ggv/files/patch-src::gtkgs.c @@ -0,0 +1,11 @@ +--- src/gtkgs.c.orig Tue Oct 23 23:37:33 2001 ++++ src/gtkgs.c Sat Feb 2 19:14:29 2002 +@@ -1273,7 +1273,7 @@ + fname = ggv_quote_filename (filename); + filename_dsc = tempnam (g_get_tmp_dir(), "dsc"); + filename_err = tempnam (g_get_tmp_dir(), "err"); +- cmd = g_strdup_printf (gs_scan_pdf_cmd, "\"", fname ,"\"", "\", filename_dsc"); ++ cmd = g_strdup_printf (gs_scan_pdf_cmd, fname, filename_dsc); + g_free (fname); + /* this command (sometimes?) prints error messages to stdout! */ + cmdline = g_strdup_printf ("%s >%s 2>&1", cmd, filename_err); -- cgit v1.2.3