mirror of
https://github.com/ocornut/imgui.git
synced 2025-10-06 18:16:29 +00:00
ImStrv: Fixed various compile errors/warnings.
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user