Improved FPrint(f) passthrough

This commit is contained in:
Nicholas Hastings
2014-08-01 06:09:09 -07:00
parent c116353285
commit 5e7e7ce551
3 changed files with 4 additions and 4 deletions
+2 -2
View File
@@ -186,9 +186,9 @@ public:
{
return filesystem->Tell(file);
}
int WriteFileLine(FileHandle_t file, const char *pLine)
int FPrint(FileHandle_t file, const char *pData)
{
return filesystem->FPrintf(file, pLine);
return filesystem->FPrintf(file, "%s", pData);
}
void Flush(FileHandle_t file)
{