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:
Spoike 2006-01-02 22:43:02 +00:00
parent f011def0cd
commit 222621f89b

View file

@ -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);
}