mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-23 02:04:20 +00:00
fix again\!
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@40012 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
6541c05a04
commit
c990c0152e
1 changed files with 1 additions and 1 deletions
|
@ -4240,7 +4240,7 @@ static NSView* findByTag(NSView *view, NSInteger aTag, NSUInteger *level)
|
|||
NSSize paperSize = [info paperSize];
|
||||
CGFloat scale = (double)([self frame].size.width/paperSize.width);
|
||||
CGFloat xoff = 0.0;
|
||||
CGFloat yoff = (paperSize.height - self.frame.size.height) / scale;
|
||||
CGFloat yoff = (paperSize.height - [self frame].size.height) / scale;
|
||||
|
||||
[ctxt beginPage: ordinalNum
|
||||
label: aString
|
||||
|
|
Loading…
Reference in a new issue