diff --git a/imgui_draw.cpp b/imgui_draw.cpp index 958cdbe8..6147103c 100644 --- a/imgui_draw.cpp +++ b/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) {