use classic syntax

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@40005 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Riccardo Mottola 2016-07-18 08:56:15 +00:00
parent 15763766e5
commit d0a064e93c

View file

@ -4240,7 +4240,7 @@ static NSView* findByTag(NSView *view, NSInteger aTag, NSUInteger *level)
NSSize paperSize = [info paperSize];
float scale = (double)([self frame].size.width/paperSize.width);
float xoff = 0.0;
float yoff = (paperSize.height - self.frame.size.height) / scale;
float yoff = (paperSize.height - [self frame].size.height) / scale;
[ctxt beginPage: ordinalNum
label: aString