fixed gnuplot
[hdw-linux/hdw-linux.git] / packages / science / gnuplot / pdflib.patch
index aef822f..d341235 100644 (file)
@@ -5,7 +5,7 @@
  
      /*open new PDF file */ 
 -    if (PDF_open_fp(myPDF, gpoutfile) == -1)
-+    if (PDF_open_file(myPDF, gpoutfile) == -1)
++    if (PDF_open_file(myPDF, outstr) == -1)
        int_error(NO_CARET, "Error:cannot open PDF file .\n");
  
  #ifdef PDF_DONT_COMPRESS