From 023ea3c6cf9be0da6080c0f9f475b58a1c213066 Mon Sep 17 00:00:00 2001 From: KokaKiwi Date: Sun, 28 Nov 2021 16:48:29 +0100 Subject: [PATCH] warnings: fix format-security warnings --- source/views/view_strings.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/views/view_strings.cpp b/source/views/view_strings.cpp index f28ec78..6fcfa24 100644 --- a/source/views/view_strings.cpp +++ b/source/views/view_strings.cpp @@ -127,7 +127,7 @@ namespace hex { return 0; }, this); if(this->m_regex && !this->m_pattern_parsed){ - ImGui::TextColored(ImVec4(1.0f, 0.0f, 0.0f, 1.0f), "hex.view.strings.regex_error"_lang); + ImGui::TextColored(ImVec4(1.0f, 0.0f, 0.0f, 1.0f), "%s", "hex.view.strings.regex_error"_lang); } if (ImGui::Button("hex.view.strings.extract"_lang)) -- 2.34.1