Merge pull request #2757 from jasontibbitts/format-security2

Fix format-security-related build failure
This commit is contained in:
lukasmatena 2019-08-13 23:08:21 +02:00 committed by GitHub
commit fbda7be89d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -354,7 +354,7 @@ bool ImGuiWrapper::undo_redo_list(const ImVec2& size, const bool is_undo, bool (
ImGui::Selectable(item_text, i < hovered);
if (ImGui::IsItemHovered()) {
ImGui::SetTooltip(item_text);
ImGui::SetTooltip("%s", item_text);
hovered = i;
is_hovered = true;
}