From e698459ec882a77dab8257e17a95f6e2630e5217 Mon Sep 17 00:00:00 2001 From: Jack Grigg Date: Tue, 3 Jan 2017 10:26:49 +0100 Subject: [PATCH] Strip out the SECURE flag in metrics UI so message style is detected --- src/metrics.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/metrics.cpp b/src/metrics.cpp index 2803a3130..df0016113 100644 --- a/src/metrics.cpp +++ b/src/metrics.cpp @@ -72,6 +72,9 @@ static bool metrics_ThreadSafeMessageBox(const std::string& message, const std::string& caption, unsigned int style) { + // The SECURE flag has no effect in the metrics UI. + style &= ~CClientUIInterface::SECURE; + std::string strCaption; // Check for usage of predefined caption switch (style) {