aboutsummaryrefslogtreecommitdiff
path: root/main.cpp
diff options
context:
space:
mode:
authors_nakamoto <s_nakamoto@1a98c847-1fd6-4fd8-948a-caf3550aa51b>2010-08-20 16:55:14 +0000
committers_nakamoto <s_nakamoto@1a98c847-1fd6-4fd8-948a-caf3550aa51b>2010-08-20 16:55:14 +0000
commit2201a0808ea240617a66823f98dda3433d2546b0 (patch)
tree236085e71879b66b05bf3266a2b52f7322d104ff /main.cpp
parent05454818dc7ed92f577a1a1ef6798049f17a52e7 (diff)
warning message if clock is too far off
git-svn-id: https://bitcoin.svn.sourceforge.net/svnroot/bitcoin/trunk@141 1a98c847-1fd6-4fd8-948a-caf3550aa51b
Diffstat (limited to 'main.cpp')
-rw-r--r--main.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/main.cpp b/main.cpp
index c2339182a5..aa1d67aac8 100644
--- a/main.cpp
+++ b/main.cpp
@@ -1579,10 +1579,10 @@ bool CheckDiskSpace(int64 nAdditionalBytes)
if (nFreeBytesAvailable < (int64)15000000 + nAdditionalBytes)
{
fShutdown = true;
- printf("*** %s***\n", _("Warning: Disk space is low "));
-#ifdef GUI
- ThreadSafeMessageBox(_("Warning: Disk space is low "), "Bitcoin", wxOK | wxICON_EXCLAMATION);
-#endif
+ string strMessage = _("Warning: Disk space is low ");
+ strWarning = strMessage;
+ printf("*** %s\n", strMessage.c_str());
+ ThreadSafeMessageBox(strMessage, "Bitcoin", wxOK | wxICON_EXCLAMATION);
CreateThread(Shutdown, NULL);
return false;
}