diff options
author | s_nakamoto <s_nakamoto@1a98c847-1fd6-4fd8-948a-caf3550aa51b> | 2010-08-20 16:55:14 +0000 |
---|---|---|
committer | s_nakamoto <s_nakamoto@1a98c847-1fd6-4fd8-948a-caf3550aa51b> | 2010-08-20 16:55:14 +0000 |
commit | 2201a0808ea240617a66823f98dda3433d2546b0 (patch) | |
tree | 236085e71879b66b05bf3266a2b52f7322d104ff /main.cpp | |
parent | 05454818dc7ed92f577a1a1ef6798049f17a52e7 (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.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -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;
}
|