Skip to content

Commit f94f112

Browse files
committed
fixed incomplete replacement of unsigned short with ImWchar in interface of ImFont::FindGlyph
1 parent b4fc709 commit f94f112

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

imgui_draw.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1780,7 +1780,7 @@ void ImFont::AddRemapChar(ImWchar dst, ImWchar src, bool overwrite_dst)
17801780
IndexXAdvance[dst] = (src < index_size) ? IndexXAdvance.Data[src] : 1.0f;
17811781
}
17821782

1783-
const ImFont::Glyph* ImFont::FindGlyph(ImWchar short c) const
1783+
const ImFont::Glyph* ImFont::FindGlyph(ImWchar c) const
17841784
{
17851785
if (c < IndexLookup.Size)
17861786
{

0 commit comments

Comments
 (0)