1
0
Fork 0
mirror of https://github.com/ocornut/imgui.git synced 2026-02-01 03:30:06 +00:00

ImStrv: Fixed various compile errors/warnings.

This commit is contained in:
ocornut 2022-08-22 11:06:33 +02:00 committed by ocornut
parent 72a266b691
commit 40ce6dc5df
3 changed files with 17 additions and 17 deletions

View file

@ -3135,7 +3135,7 @@ ImFont* ImFontAtlas::AddFontFromFileTTF(ImStrv filename, float size_pixels, cons
{
if (font_cfg_template == NULL || (font_cfg_template->Flags & ImFontFlags_NoLoadError) == 0)
{
IMGUI_DEBUG_LOG("While loading '%s'\n", filename);
IMGUI_DEBUG_LOG("While loading '%.*s'\n", filename.length(), filename.Begin);
IM_ASSERT_USER_ERROR(0, "Could not load font file!");
}
return NULL;
@ -5632,7 +5632,7 @@ begin:
}
else
{
s = line_end ? line_end + 1 : text.End;
s = line_end ? line_end + 1 : text_end;
}
y += line_height;
}