diff options
Diffstat (limited to 'apps/plugins/doom/d_deh.c')
-rw-r--r-- | apps/plugins/doom/d_deh.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/plugins/doom/d_deh.c b/apps/plugins/doom/d_deh.c index 82426c1bab..abdaeae9ae 100644 --- a/apps/plugins/doom/d_deh.c +++ b/apps/plugins/doom/d_deh.c | |||
@@ -1484,7 +1484,7 @@ void ProcessDehFile(const char *filename, const char *outfilename, int lumpnum) | |||
1484 | if (strcmp(outfilename, "-")) | 1484 | if (strcmp(outfilename, "-")) |
1485 | { | 1485 | { |
1486 | fileout = open(outfilename, firstfile ? O_WRONLY | O_CREAT : | 1486 | fileout = open(outfilename, firstfile ? O_WRONLY | O_CREAT : |
1487 | O_WRONLY | O_APPEND); | 1487 | O_WRONLY | O_APPEND, 0666); |
1488 | if (fileout < 0) | 1488 | if (fileout < 0) |
1489 | { | 1489 | { |
1490 | printf( "Could not open -dehout file %s\n... using stdout.\n", | 1490 | printf( "Could not open -dehout file %s\n... using stdout.\n", |