]> git.rm.cloudns.org Git - xonotic/darkplaces.git/commit
fix FS_Read when reading size 1 (it segfaulted sometimes then)
authordivverent <divverent@d7cf8633-e32d-0410-b094-e92efae38249>
Tue, 23 Oct 2007 14:36:48 +0000 (14:36 +0000)
committerdivverent <divverent@d7cf8633-e32d-0410-b094-e92efae38249>
Tue, 23 Oct 2007 14:36:48 +0000 (14:36 +0000)
commitc7df8736a1173c3dd1f7f30c2b722f102e6e816e
tree2a43f582b1eb61257159eae56a26ae02dc05c2e9
parente3b89f8368a4fefbc1768826c815af1c6b315bdc
fix FS_Read when reading size 1 (it segfaulted sometimes then)
fix FS_Getc to allow 8bit data (by using unsigned char instead, like fgetc)

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@7651 d7cf8633-e32d-0410-b094-e92efae38249
fs.c