From 467a78f32b32587563ceadb620cf09c58b47a554 Mon Sep 17 00:00:00 2001 From: John Cupitt Date: Tue, 17 Jul 2012 10:00:59 +0100 Subject: [PATCH] save as ppm from vips7 with options was broken it wrote a file with the options still in the name --- ChangeLog | 1 + libvips/deprecated/im_vips2ppm.c | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 2804fe1e..68bf11bd 100644 --- a/ChangeLog +++ b/ChangeLog @@ -3,6 +3,7 @@ - vips_sign() was broken - png save compression range was wrong - more/moreeq was wrong +- vips7 ppm save with options was broken 18/6/12 started 7.28.9 - slightly more memory debugging output diff --git a/libvips/deprecated/im_vips2ppm.c b/libvips/deprecated/im_vips2ppm.c index 3fc21b9e..311aaf3c 100644 --- a/libvips/deprecated/im_vips2ppm.c +++ b/libvips/deprecated/im_vips2ppm.c @@ -66,5 +66,5 @@ im_vips2ppm( IMAGE *in, const char *filename ) } } - return( vips_ppmsave( in, filename, "ascii", ascii, NULL ) ); + return( vips_ppmsave( in, name, "ascii", ascii, NULL ) ); }