mirror of
https://github.com/Drezil/imgui.git
synced 2025-11-02 06:01:06 +01:00
ImFont: Tweaking layout, shaving bit of alignment and simple hot/cot split
This commit is contained in:
@@ -1725,7 +1725,7 @@ const ImFont::Glyph* ImFont::FindGlyph(unsigned short c) const
|
||||
{
|
||||
const int i = IndexLookup[c];
|
||||
if (i != -1)
|
||||
return &Glyphs[i];
|
||||
return &Glyphs.Data[i];
|
||||
}
|
||||
return FallbackGlyph;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user