From 79d128c872e10075e29d19616645d82cb53e3450 Mon Sep 17 00:00:00 2001 From: Matthew Date: Wed, 20 Aug 2025 03:44:27 +1000 Subject: [PATCH] typo --- fonts.d | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fonts.d b/fonts.d index bf7d96a..df1575a 100644 --- a/fonts.d +++ b/fonts.d @@ -180,7 +180,7 @@ CreateAtlas(Arena* arena, FontFace font, f32 size, u32 dimension) } } - Glyph* g = atlas.atlas.glyphs.ptr + char_count; + Glyph* g = atlas.atlas.glyphs.ptr + char_code; g.ch = cast(dchar)char_code; g.advance = cast(f32)(glyph.advance.x >> 6);