diff options
author | rodasmith <rodasmith@users.noreply.github.com> | 2016-09-10 11:41:01 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-09-10 11:41:01 -0700 |
commit | 1d635ae61b26d1dd613c1cc1cac796627af2a31e (patch) | |
tree | c334ab711fdff3f1a84d1c88039b39ec12174828 /src/main.cpp | |
parent | 2a0836f6d5e7c1d7e97bedb0e0ea33dcaf981f77 (diff) | |
download | bitcoin-1d635ae61b26d1dd613c1cc1cac796627af2a31e.tar.xz |
fix op order to append first alert
Diffstat (limited to 'src/main.cpp')
-rw-r--r-- | src/main.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main.cpp b/src/main.cpp index cb6e942272..593897f516 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -4659,12 +4659,12 @@ std::string GetWarnings(const std::string& strFor) if (fLargeWorkForkFound) { strStatusBar = strRPC = "Warning: The network does not appear to fully agree! Some miners appear to be experiencing issues."; - strGUI += strGUI.empty() ? "" : uiAlertSeperator + _("Warning: The network does not appear to fully agree! Some miners appear to be experiencing issues."); + strGUI += (strGUI.empty() ? "" : uiAlertSeperator) + _("Warning: The network does not appear to fully agree! Some miners appear to be experiencing issues."); } else if (fLargeWorkInvalidChainFound) { strStatusBar = strRPC = "Warning: We do not appear to fully agree with our peers! You may need to upgrade, or other nodes may need to upgrade."; - strGUI += strGUI.empty() ? "" : uiAlertSeperator + _("Warning: We do not appear to fully agree with our peers! You may need to upgrade, or other nodes may need to upgrade."); + strGUI += (strGUI.empty() ? "" : uiAlertSeperator) + _("Warning: We do not appear to fully agree with our peers! You may need to upgrade, or other nodes may need to upgrade."); } if (strFor == "gui") |