Undo last change as it broke Graphos printing

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@34353 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
ericwa 2011-12-23 21:22:41 +00:00
parent e54e42c0ca
commit aaefd51968
2 changed files with 1 additions and 10 deletions

View file

@ -4482,7 +4482,7 @@ static NSView* findByTag(NSView *view, int aTag, unsigned *level)
}
/* Translate to placement */
if ((location.x != 0 || location.y != 0))
if ((location.x != 0 || location.y != 0) && NSIsEmptyRect(aRect) == YES)
DPStranslate(ctxt, location.x, location.y);
// FIXME: Need to place this correctly. Maybe it isn't needed at all,