mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-24 11:40:47 +00:00
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:
parent
ffd563e4eb
commit
3e19095fce
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue