1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
From 9ca162d2fce0afffe7a98613e2305148ec8bf5c2 Mon Sep 17 00:00:00 2001
From: KokaKiwi <kokakiwi+git@kokakiwi.net>
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 195d84d..ef39b26 100644
--- a/source/views/view_strings.cpp
+++ b/source/views/view_strings.cpp
@@ -128,7 +128,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
|