Oops, wasn't closing the PNG file after exporting to it.

[git-p4: depot-paths = "//depot/solvespace/": change = 1848]
solver
Jonathan Westhues 2008-07-20 17:34:09 -08:00
parent 304c8f8be9
commit 115dbce61b
1 changed files with 1 additions and 0 deletions

View File

@ -301,6 +301,7 @@ void SolveSpace::ExportAsPngTo(char *filename) {
png_write_end(png_ptr, info_ptr); png_write_end(png_ptr, info_ptr);
png_destroy_write_struct(&png_ptr, &info_ptr); png_destroy_write_struct(&png_ptr, &info_ptr);
fclose(f);
return; return;
err: err: