From b6aa549eb8a746837782ebba9eec07d0ca17b8a6 Mon Sep 17 00:00:00 2001 From: gingerBill Date: Tue, 8 Dec 2020 17:01:28 +0000 Subject: [PATCH] Fix typo --- core/runtime/print.odin | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } }