Author: gcasa Date: Sun Jul 17 00:47:35 2016 New Revision: 40004 URL: http://svn.gna.org/viewcvs/gnustep?rev=40004&view=rev Log: Minor change. Properly initialize float xoff
Modified: libs/gui/trunk/Source/NSView.m Modified: libs/gui/trunk/Source/NSView.m URL: http://svn.gna.org/viewcvs/gnustep/libs/gui/trunk/Source/NSView.m?rev=40004&r1=40003&r2=40004&view=diff ============================================================================== --- libs/gui/trunk/Source/NSView.m (original) +++ libs/gui/trunk/Source/NSView.m Sun Jul 17 00:47:35 2016 @@ -4239,7 +4239,7 @@ 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 _______________________________________________ Gnustep-cvs mailing list Gnustep-cvs@gna.org https://mail.gna.org/listinfo/gnustep-cvs