diff options
| author | Juan Linietsky | 2018-01-05 16:27:19 -0300 |
|---|---|---|
| committer | Juan Linietsky | 2018-01-05 16:28:08 -0300 |
| commit | 380ee87e800e44b5e930d784dfb8aeadddf637f3 (patch) | |
| tree | 72dcf16bb2e33d8df3d7d3a798b969eaef6b0c4a /drivers/windows/file_access_windows.cpp | |
| parent | 22cd45b1d52469ef77785ccb25617560ab60ac7b (diff) | |
| download | godot-380ee87e800e44b5e930d784dfb8aeadddf637f3.tar.gz godot-380ee87e800e44b5e930d784dfb8aeadddf637f3.tar.zst godot-380ee87e800e44b5e930d784dfb8aeadddf637f3.zip | |
Diffstat (limited to 'drivers/windows/file_access_windows.cpp')
| -rw-r--r-- | drivers/windows/file_access_windows.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/windows/file_access_windows.cpp b/drivers/windows/file_access_windows.cpp index 409ca52ae..dbffac8eb 100644 --- a/drivers/windows/file_access_windows.cpp +++ b/drivers/windows/file_access_windows.cpp @@ -190,6 +190,7 @@ uint8_t FileAccessWindows::get_8() const { uint8_t b; if (fread(&b, 1, 1, f) == 0) { check_errors(); + b = '\0'; }; return b; |
