more specific file modes.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1770 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
parent
f011def0cd
commit
222621f89b
1 changed files with 1 additions and 1 deletions
|
@ -1056,7 +1056,7 @@ void screenshotJPEG(char *filename, qbyte *screendata, int screenwidth, int scre
|
|||
if (!(outfile = FS_OpenVFS(filename, "wb", FS_GAMEONLY)))
|
||||
{
|
||||
FS_CreatePath (filename, FS_GAME);
|
||||
if (!(outfile = FS_OpenVFS(filename, "w", FS_GAMEONLY)))
|
||||
if (!(outfile = FS_OpenVFS(filename, "wb", FS_GAMEONLY)))
|
||||
Sys_Error ("Error opening %s", filename);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue