Merge pull request #2757 from jasontibbitts/format-security2
Fix format-security-related build failure
This commit is contained in:
commit
fbda7be89d
@ -354,7 +354,7 @@ bool ImGuiWrapper::undo_redo_list(const ImVec2& size, const bool is_undo, bool (
|
|||||||
ImGui::Selectable(item_text, i < hovered);
|
ImGui::Selectable(item_text, i < hovered);
|
||||||
|
|
||||||
if (ImGui::IsItemHovered()) {
|
if (ImGui::IsItemHovered()) {
|
||||||
ImGui::SetTooltip(item_text);
|
ImGui::SetTooltip("%s", item_text);
|
||||||
hovered = i;
|
hovered = i;
|
||||||
is_hovered = true;
|
is_hovered = true;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user