mirror of
https://github.com/godotengine/godot.git
synced 2025-10-20 00:13:30 +00:00
Change rb+ to wb+ on file access READ_WRITE to allow more use cases, closes #2278
This commit is contained in:
parent
84f96eb523
commit
5769f8aaae
2 changed files with 2 additions and 2 deletions
|
@ -74,7 +74,7 @@ Error FileAccessUnix::_open(const String& p_path, int p_mode_flags) {
|
|||
else if (p_mode_flags==WRITE)
|
||||
mode_string="wb";
|
||||
else if (p_mode_flags==READ_WRITE)
|
||||
mode_string="rb+";
|
||||
mode_string="wb+";
|
||||
else
|
||||
return ERR_INVALID_PARAMETER;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue