Strip out the SECURE flag in metrics UI so message style is detected
This commit is contained in:
@@ -72,6 +72,9 @@ static bool metrics_ThreadSafeMessageBox(const std::string& message,
|
|||||||
const std::string& caption,
|
const std::string& caption,
|
||||||
unsigned int style)
|
unsigned int style)
|
||||||
{
|
{
|
||||||
|
// The SECURE flag has no effect in the metrics UI.
|
||||||
|
style &= ~CClientUIInterface::SECURE;
|
||||||
|
|
||||||
std::string strCaption;
|
std::string strCaption;
|
||||||
// Check for usage of predefined caption
|
// Check for usage of predefined caption
|
||||||
switch (style) {
|
switch (style) {
|
||||||
|
|||||||
Reference in New Issue
Block a user