save as ppm from vips7 with options was broken

it wrote a file with the options still in the name
This commit is contained in:
John Cupitt 2012-07-17 10:00:59 +01:00
parent 5363aace39
commit 467a78f32b
2 changed files with 2 additions and 1 deletions

View File

@ -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

View File

@ -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 ) );
}