fix saving bug

This commit is contained in:
dborth 2008-12-20 20:32:06 +00:00
parent 76b5f16080
commit c7b15e4a89

View File

@ -478,7 +478,7 @@ SaveFileBuf (char * buffer, char *filepath, u32 datasize, int method, bool silen
sprintf(fullpath, "%s%s", rootdir, filepath);
// open file for writing
file = fopen (filepath, "wb");
file = fopen (fullpath, "wb");
if (file > 0)
{