diff options
| author | gingerBill <bill@gingerbill.org> | 2022-07-15 00:34:26 +0100 |
|---|---|---|
| committer | gingerBill <bill@gingerbill.org> | 2022-07-15 00:34:26 +0100 |
| commit | 157c87b2a2ce3d82bb55bcabd746f14d1a810e12 (patch) | |
| tree | 0963923d28df40d72106f627ecd36ec7d36701c1 | |
| parent | d3081bd8891e3b018a92064cff41877f6b71ff20 (diff) | |
Fix typo
| -rw-r--r-- | core/fmt/fmt.odin | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/fmt/fmt.odin b/core/fmt/fmt.odin index e03dfd678..4db140afa 100644 --- a/core/fmt/fmt.odin +++ b/core/fmt/fmt.odin @@ -1014,7 +1014,7 @@ fmt_pointer :: proc(fi: ^Info, p: rawptr, verb: rune) { u := u64(uintptr(p)) switch verb { case 'p', 'v': - if !fi.hash || verb == 'v' { + if !fi.hash && verb == 'v' { io.write_string(fi.writer, "0x", &fi.n) } _fmt_int(fi, u, 16, false, 8*size_of(rawptr), __DIGITS_UPPER) |