Fixed OpenAppend to actually open for append. Used "wb+" instead of "ab".
This commit is contained in:
parent
d440f5891c
commit
a2c89d7ad2
|
@ -581,7 +581,7 @@ void *__PHYSFS_platformOpenWrite(const char *filename)
|
||||||
|
|
||||||
void *__PHYSFS_platformOpenAppend(const char *filename)
|
void *__PHYSFS_platformOpenAppend(const char *filename)
|
||||||
{
|
{
|
||||||
return(doOpen(filename, "wb+"));
|
return(doOpen(filename, "ab"));
|
||||||
} /* __PHYSFS_platformOpenAppend */
|
} /* __PHYSFS_platformOpenAppend */
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue