From: <ave...@us...> - 2009-08-23 18:33:34
|
Revision: 7037 http://gemrb.svn.sourceforge.net/gemrb/?rev=7037&view=rev Author: avenger_teambg Date: 2009-08-23 18:33:25 +0000 (Sun, 23 Aug 2009) Log Message: ----------- pixel nitpickers! Modified Paths: -------------- gemrb/trunk/gemrb/plugins/Core/Button.cpp Modified: gemrb/trunk/gemrb/plugins/Core/Button.cpp =================================================================== --- gemrb/trunk/gemrb/plugins/Core/Button.cpp 2009-08-23 18:21:00 UTC (rev 7036) +++ gemrb/trunk/gemrb/plugins/Core/Button.cpp 2009-08-23 18:33:25 UTC (rev 7037) @@ -280,7 +280,7 @@ if (! (Flags & IE_GUI_BUTTON_MULTILINE)) { align |= IE_FONT_SINGLE_LINE; } - font->Print( Region( x + XPos, y + YPos, Width - 2, Height - 2 ), + font->Print( Region( x + XPos+5, y + YPos+5, Width - 10, Height - 10 ), ( unsigned char * ) Text, ppoi, (ieByte) align, true ); } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |