aboutsummaryrefslogtreecommitdiff
path: root/ui.h
diff options
context:
space:
mode:
authors_nakamoto <s_nakamoto@1a98c847-1fd6-4fd8-948a-caf3550aa51b>2010-09-07 01:12:53 +0000
committers_nakamoto <s_nakamoto@1a98c847-1fd6-4fd8-948a-caf3550aa51b>2010-09-07 01:12:53 +0000
commitf1e1fb4bdef878c8fc1564fa418d44e7541a7e83 (patch)
tree1f3dcb611059e60f2faa5d75d72186aacfff18df /ui.h
parentd743f0355269e2e03fe3f982e250d07999d72b98 (diff)
downloadbitcoin-f1e1fb4bdef878c8fc1564fa418d44e7541a7e83.tar.xz
cleanup,
catch some recoverable exceptions and continue git-svn-id: https://bitcoin.svn.sourceforge.net/svnroot/bitcoin/trunk@148 1a98c847-1fd6-4fd8-948a-caf3550aa51b
Diffstat (limited to 'ui.h')
-rw-r--r--ui.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/ui.h b/ui.h
index b78f2064e0..9769fd700d 100644
--- a/ui.h
+++ b/ui.h
@@ -305,8 +305,8 @@ public:
y += 46 + wxString(strMessage2).Freq('\n') * 14;
}
#ifndef __WXMSW__
- x *= 1.14;
- y *= 1.14;
+ x = x * 114 / 100;
+ y = y * 114 / 100;
#endif
SetSize(x, y);
}