diff options
| author | gingerBill <bill@gingerbill.org> | 2020-12-08 17:01:28 +0000 |
|---|---|---|
| committer | gingerBill <bill@gingerbill.org> | 2020-12-08 17:01:28 +0000 |
| commit | b6aa549eb8a746837782ebba9eec07d0ca17b8a6 (patch) | |
| tree | 3d953188f9cfbd6a0c0de601223291eb081b1799 /core/runtime | |
| parent | 168532ae8d6f0743942147b41c3ea37516804b70 (diff) | |
Fix typo
Diffstat (limited to 'core/runtime')
| -rw-r--r-- | core/runtime/print.odin | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/runtime/print.odin b/core/runtime/print.odin index 53ce34aa4..2ab28f234 100644 --- a/core/runtime/print.odin +++ b/core/runtime/print.odin @@ -47,7 +47,7 @@ print_strings :: proc "contextless" (args: ..string) -> (n: int, err: _OS_Errno) m: int; m, err = os_write(transmute([]byte)str); n += m; - if err != nil { + if err != 0 { break; } } |