fixed incomplete replacement of unsigned short with ImWchar in interface of ImFont::FindGlyph

features/sdl_renderer3_multiviewports
Jason Wilkins ago%!(EXTRA string=8 years) committed by omar
parent 9886b09a0a
commit 022f8c2342
  1. 2
      imgui_draw.cpp

@ -2183,7 +2183,7 @@ void ImFont::AddRemapChar(ImWchar dst, ImWchar src, bool overwrite_dst)
IndexAdvanceX[dst] = (src < index_size) ? IndexAdvanceX.Data[src] : 1.0f;
}
const ImFontGlyph* ImFont::FindGlyph(unsigned short c) const
const ImFontGlyph* ImFont::FindGlyph(ImWchar c) const
{
if (c < IndexLookup.Size)
{

Loading…
Cancel
Save