diff options
| author | gingerBill <bill@gingerbill.org> | 2022-02-25 15:08:02 +0000 |
|---|---|---|
| committer | gingerBill <bill@gingerbill.org> | 2022-02-25 15:08:02 +0000 |
| commit | d97df080f926e945fde0587ea0f9d63f98fcff5d (patch) | |
| tree | d868ed69ed90a8ae5d76c63bd67c1e431ccfcf7c | |
| parent | 0e5c7e08fcbddcb662732a301e917b642b79cfd9 (diff) | |
Revert change
| -rw-r--r-- | core/os/file_windows.odin | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/os/file_windows.odin b/core/os/file_windows.odin index fbdc83ce9..062e2b8a5 100644 --- a/core/os/file_windows.odin +++ b/core/os/file_windows.odin @@ -130,7 +130,7 @@ read_console :: proc(handle: win32.HANDLE, b: []byte) -> (n: int, err: Errno) { b[n] = x n += 1 } - if ctrl_z || single_read_length <= max_read { + if ctrl_z || single_read_length < max_read { break } } |