Satisfy GCC -Wformat-security with TextUnformatted
This commit is contained in:
@@ -49,7 +49,7 @@ namespace ImGui {
|
||||
void LeftLabel(const char* text) {
|
||||
float vpos = ImGui::GetCursorPosY();
|
||||
ImGui::SetCursorPosY(vpos + GImGui->Style.FramePadding.y);
|
||||
ImGui::Text("%s", text);
|
||||
ImGui::TextUnformatted(text);
|
||||
ImGui::SameLine();
|
||||
ImGui::SetCursorPosY(vpos);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user