mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-25 22:01:33 +00:00
open output file in binary mode
This commit is contained in:
parent
9099baeb6d
commit
2b26072c8f
1 changed files with 1 additions and 1 deletions
|
@ -904,7 +904,7 @@ main (int argc, char *argv[])
|
||||||
|
|
||||||
/* Write image */
|
/* Write image */
|
||||||
|
|
||||||
outfile = Qopen (options.outf_name, "w");
|
outfile = Qopen (options.outf_name, "wb");
|
||||||
if (outfile == NULL) {
|
if (outfile == NULL) {
|
||||||
fprintf (stderr, "Error opening output file %s.\n", options.outf_name);
|
fprintf (stderr, "Error opening output file %s.\n", options.outf_name);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue