mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-23 20:01:11 +00:00
Indented line
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@12681 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
b314f67bd1
commit
b964ba883e
1 changed files with 1 additions and 1 deletions
|
@ -191,7 +191,7 @@ scaleProportionally(NSSize imageSize, NSRect canvasRect)
|
|||
|
||||
// get the smaller ratio and scale the image size by it
|
||||
ratio = MIN(NSWidth(canvasRect) / imageSize.width,
|
||||
NSHeight(canvasRect) / imageSize.height);
|
||||
NSHeight(canvasRect) / imageSize.height);
|
||||
|
||||
imageSize.width *= ratio;
|
||||
imageSize.height *= ratio;
|
||||
|
|
Loading…
Reference in a new issue