diff options
author | Kae <80987908+Novaenia@users.noreply.github.com> | 2024-04-25 01:37:15 +1000 |
---|---|---|
committer | Kae <80987908+Novaenia@users.noreply.github.com> | 2024-04-25 01:37:15 +1000 |
commit | 8cac985fd0c1934d4147887a0c8307af2073b540 (patch) | |
tree | 2357e16c861d7bae7284a51ebbb2efe764ae03df /source/core/StarFont.cpp | |
parent | 6f7e2bbb83d518c8df06966d71e83a23ed5dfefd (diff) |
oops: fix one-line mistake that caused some glyphs to randomly scramble
Diffstat (limited to 'source/core/StarFont.cpp')
-rw-r--r-- | source/core/StarFont.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/core/StarFont.cpp b/source/core/StarFont.cpp index 86262f5..7155d69 100644 --- a/source/core/StarFont.cpp +++ b/source/core/StarFont.cpp @@ -106,7 +106,7 @@ tuple<Image, Vec2I, bool> Font::render(String::Char c) { } m_loadedPixelSize = m_pixelSize; - m_loadedChar = m_loadedChar; + m_loadedChar = c; FT_GlyphSlot slot = face->glyph; |