also you didn't see this

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1985 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
TimeServ 2006-02-22 01:26:09 +00:00
parent df16aa1400
commit 0c3e0673f0
1 changed files with 3 additions and 1 deletions

View File

@ -1057,8 +1057,10 @@ void screenshotJPEG(char *filename, qbyte *screendata, int screenwidth, int scre
{
FS_CreatePath (filename, FS_GAME);
if (!(outfile = FS_OpenVFS(filename, "wb", FS_GAMEONLY)))
{
Con_Printf("Error opening %s\n", filename);
return;
return;
}
}
cinfo.err = jpeg_std_error(&jerr.pub);