Add buildvfs_fopen_write_text

Long-term we will need to replace all uses of "\n" in string literals printed to disk.

git-svn-id: https://svn.eduke32.com/eduke32@7394 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
hendricks266 2019-03-11 06:06:47 +00:00
parent 381517ffa0
commit 6ba0b64de6
3 changed files with 4 additions and 2 deletions

View file

@ -481,7 +481,7 @@ void SCRIPT_Save(int32_t scripthandle, char const * filename)
if (!filename) return;
if (!SC(scripthandle)) return;
fp = buildvfs_fopen_write(filename);
fp = buildvfs_fopen_write_text(filename);
if (!fp) return;
numsect = SCRIPT_NumberSections(scripthandle);