Null PhysFS handle after closing

This commit is contained in:
Jonas Kulla 2013-09-04 13:32:11 +02:00
parent 0253b6ed2b
commit 4a945f8d6c
1 changed files with 2 additions and 0 deletions

View File

@ -706,6 +706,8 @@ static int SDL_RWopsClose(SDL_RWops *ops)
int result = PHYSFS_close(f);
f = 0;
return (result != 0) ? 0 : -1;
}