Commit ab8616dc authored by Adrian Johnson's avatar Adrian Johnson Committed by Albert Astals Cid
Browse files

close the file or flush stdout

parent 0e53ba57
......@@ -336,6 +336,8 @@ void writePageImage(GooString *filename)
gfree(row);
writer->close();
delete writer;
if (file == stdout) fflush(file);
else fclose(file);
}
static void getCropSize(double page_w, double page_h, double *width, double *height)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment