aboutsummaryrefslogtreecommitdiff
path: root/core/debug
diff options
context:
space:
mode:
authorjakubtomsu <66876057+jakubtomsu@users.noreply.github.com>2026-02-10 19:46:51 +0100
committerjakubtomsu <66876057+jakubtomsu@users.noreply.github.com>2026-02-10 19:46:51 +0100
commit77be6a1f1837253c66eaaec2e5009ec9e52a23e3 (patch)
tree614dbc3b3318a87ff05c4afccc96123d26ad80be /core/debug
parent0e2f5b7d7007df27f4a9f4a7eaa4b1166dd45f3a (diff)
fix tabs
Diffstat (limited to 'core/debug')
-rw-r--r--core/debug/trace/trace.odin10
1 files changed, 5 insertions, 5 deletions
diff --git a/core/debug/trace/trace.odin b/core/debug/trace/trace.odin
index 79c10b67f..8561d72c2 100644
--- a/core/debug/trace/trace.odin
+++ b/core/debug/trace/trace.odin
@@ -49,15 +49,15 @@ in_resolve :: proc "contextless" (ctx: ^Context) -> bool {
_format_hex :: proc(buf: []byte, val: uintptr, allocator: runtime.Allocator) -> int {
_digits := "0123456789abcdef"
- shift := (size_of(uintptr) * 8) - 4
+ shift := (size_of(uintptr) * 8) - 4
offs := 0
- for shift >= 0 {
- d := (val >> uint(shift)) & 0xf
+ for shift >= 0 {
+ d := (val >> uint(shift)) & 0xf
buf[offs] = _digits[d]
- shift -= 4
+ shift -= 4
offs += 1
- }
+ }
return offs
}