diff options
| author | gingerBill <bill@gingerbill.org> | 2022-02-25 14:54:35 +0000 |
|---|---|---|
| committer | gingerBill <bill@gingerbill.org> | 2022-02-25 14:54:35 +0000 |
| commit | 0e5c7e08fcbddcb662732a301e917b642b79cfd9 (patch) | |
| tree | f6a596f2c302a236f0e53b1b8ffd900ed614d0d6 | |
| parent | 376906e0ae1eb949136ac66280373cef804e94d6 (diff) | |
Change `<` to `<=`
| -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 062e2b8a5..fbdc83ce9 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 } } |