mirror of
https://github.com/ZDoom/Raze.git
synced 2025-05-31 01:11:15 +00:00
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:
parent
381517ffa0
commit
6ba0b64de6
3 changed files with 4 additions and 2 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue