On Sun, 2008-03-02 at 13:54 +0100, Ryan Pavlik wrote:
> I don't like magic numbers in the code either. Solution:
>
> + #define FIVE 5
> + #define THREE 3
>
> + m_iClearLeftOffset = getHeight()/FIVE;
>
>
> + if(getGraphics() && (m_iClearLeftOffset <
> getGraphics()->tlu(THREE)))
> + m_iClearLeftOffset = getGraphics()->tlu(THREE);
That's good for a Daily WTF.
Hub
Received on Sun Mar 2 17:38:59 2008
This archive was generated by hypermail 2.1.8 : Sun Mar 02 2008 - 17:38:59 CET