Minor change. Properly initialize float xoff

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@40004 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
gcasa 2016-07-16 22:47:35 +00:00
parent ffd563e4eb
commit 3e19095fce

View file

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