mirror of
https://github.com/AppleWin/AppleWin.git
synced 2024-11-19 04:08:45 +00:00
Screenshot: reset file pointer to the end. (PR #1016)
This commit is contained in:
parent
aa4af5e9d5
commit
5fbd8339c1
@ -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…
Reference in New Issue
Block a user