Strip out the SECURE flag in metrics UI so message style is detected

This commit is contained in:
Jack Grigg 2017-01-03 10:26:49 +01:00
parent 83561c9cb3
commit e698459ec8
No known key found for this signature in database
GPG Key ID: 6A6914DAFBEA00DA
1 changed files with 3 additions and 0 deletions

View File

@ -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) {