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:
parent
72a266b691
commit
40ce6dc5df
3 changed files with 17 additions and 17 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue