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
+1 -1
View File
@@ -587,7 +587,7 @@ static cell_t sm_WriteFileLine(IPluginContext *pContext, const cell_t *params)
FileHandle_t pFile = (FileHandle_t) pTempFile;
smcore.atcprintf(buffer, sizeof(buffer), fmt, pContext, params, &arg);
sprintf(buffer, "%s\n", buffer);
smcore.filesystem->WriteFileLine(pFile, buffer);
smcore.filesystem->FPrint(pFile, buffer);
}
else
{