diff options
author | Juan Linietsky <reduzio@gmail.com> | 2016-01-02 12:03:33 -0300 |
---|---|---|
committer | Juan Linietsky <reduzio@gmail.com> | 2016-01-02 12:03:33 -0300 |
commit | 5769f8aaaed70fa28b92562255dd61c1c371acf5 (patch) | |
tree | 2bf26429edfb3515067c41f6be870459c202e682 /drivers/windows/file_access_windows.cpp | |
parent | 84f96eb523fd13329b2c7bfac952f955aed6ca62 (diff) | |
download | redot-engine-5769f8aaaed70fa28b92562255dd61c1c371acf5.tar.gz |
Change rb+ to wb+ on file access READ_WRITE to allow more use cases, closes #2278
Diffstat (limited to 'drivers/windows/file_access_windows.cpp')
-rw-r--r-- | drivers/windows/file_access_windows.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/windows/file_access_windows.cpp b/drivers/windows/file_access_windows.cpp index 0de686ed53..818e4258ba 100644 --- a/drivers/windows/file_access_windows.cpp +++ b/drivers/windows/file_access_windows.cpp @@ -71,7 +71,7 @@ Error FileAccessWindows::_open(const String& p_filename, int p_mode_flags) { else if (p_mode_flags==WRITE) mode_string=L"wb"; else if (p_mode_flags==READ_WRITE) - mode_string=L"rb+"; + mode_string=L"wb+"; else return ERR_INVALID_PARAMETER; |