summarylogtreecommitdiffstats
path: root/0001-warnings-fix-format-security-warnings.patch
diff options
context:
space:
mode:
authorKokaKiwi2021-12-05 00:53:37 +0100
committerKokaKiwi2021-12-05 00:53:37 +0100
commit75e3810bfc40665fd704d0ba42f82f8c0cd1547b (patch)
treedde4b2616db8e0a0cb81a80cc4b91432e321755c /0001-warnings-fix-format-security-warnings.patch
parent2d53ad43bd592ef13c736ec7a6d9d1860270966b (diff)
downloadaur-75e3810bfc40665fd704d0ba42f82f8c0cd1547b.tar.gz
Update: 1.11.2
Diffstat (limited to '0001-warnings-fix-format-security-warnings.patch')
-rw-r--r--0001-warnings-fix-format-security-warnings.patch8
1 files changed, 4 insertions, 4 deletions
diff --git a/0001-warnings-fix-format-security-warnings.patch b/0001-warnings-fix-format-security-warnings.patch
index bb5b634b6a40..0e7d134d1722 100644
--- a/0001-warnings-fix-format-security-warnings.patch
+++ b/0001-warnings-fix-format-security-warnings.patch
@@ -1,4 +1,4 @@
-From 023ea3c6cf9be0da6080c0f9f475b58a1c213066 Mon Sep 17 00:00:00 2001
+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
@@ -8,13 +8,13 @@ Subject: [PATCH] warnings: fix format-security warnings
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
+index 195d84d..ef39b26 100644
--- a/source/views/view_strings.cpp
+++ b/source/views/view_strings.cpp
-@@ -127,7 +127,7 @@ namespace hex {
+@@ -128,7 +128,7 @@ namespace hex {
return 0;
}, this);
- if(this->m_regex && !this->m_pattern_parsed){
+ 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);
}