Screenshot: reset file pointer to the end. (PR #1016)
This commit is contained in:
parent
aa4af5e9d5
commit
5fbd8339c1
1 changed files with 1 additions and 0 deletions
|
@ -585,6 +585,7 @@ void Video::Video_MakeScreenShot(FILE *pFile, const VideoScreenShot_e ScreenShot
|
|||
pBmp->nSizeFile = ftell(pFile);
|
||||
rewind(pFile);
|
||||
fwrite( pBmp, sizeof( WinBmpHeader_t ), 1, pFile );
|
||||
fseek(pFile, 0, SEEK_END);
|
||||
}
|
||||
|
||||
//===========================================================================
|
||||
|
|
Loading…
Add table
Reference in a new issue