diff ui.h @ 267:32694c9fc1c5 draft

cleanup, catch some recoverable exceptions and continue git-svn-id: https://bitcoin.svn.sourceforge.net/svnroot/bitcoin/trunk@148 1a98c847-1fd6-4fd8-948a-caf3550aa51b
author s_nakamoto <s_nakamoto@1a98c847-1fd6-4fd8-948a-caf3550aa51b>
date Tue, 07 Sep 2010 01:12:53 +0000 (2010-09-07)
parents bbd929786bd5
children eb048502574e bf9b56c332e4
line wrap: on
line diff
--- a/ui.h
+++ b/ui.h
@@ -305,8 +305,8 @@
             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);
     }