Веб-сайт самохостера Lotigara

summaryrefslogtreecommitdiff
path: root/source/core/StarFont.cpp
diff options
context:
space:
mode:
authorKae <80987908+Novaenia@users.noreply.github.com>2024-04-25 01:37:15 +1000
committerKae <80987908+Novaenia@users.noreply.github.com>2024-04-25 01:37:15 +1000
commit8cac985fd0c1934d4147887a0c8307af2073b540 (patch)
tree2357e16c861d7bae7284a51ebbb2efe764ae03df /source/core/StarFont.cpp
parent6f7e2bbb83d518c8df06966d71e83a23ed5dfefd (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.cpp2
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;