Missing changes from last commit.

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@25304 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
fredkiefer 2007-07-04 12:36:21 +00:00
parent 28aafc0b45
commit 1b0f4ef79a

View file

@ -1905,7 +1905,9 @@ convert_rect_using_matrices(NSRect aRect, NSAffineTransform *matrix1,
* than the bounds of the view. This prevents drawing outside
* our bounds.
*/
if (_is_rotated_from_base)
// Normally the second test is not needed, it can differ only
// when the view is loaded from a NIB file.
if (_is_rotated_from_base && (_boundsMatrix != nil))
{
// When the view is rotated, we clip to the frame.
NSAffineTransform *matrix;