Skip to content

Commit 8fcf9b7

Browse files
trivial: Remove inaccurate comments
1 parent 9631c87 commit 8fcf9b7

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

source/gx/gtk/cairo.d

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -179,10 +179,8 @@ void renderImage(Context cr, ImageSurface isSource, int outputWidth, int outputH
179179
double yScale = to!double(outputHeight) / to!double(isSource.getHeight());
180180

181181
if (xScale < yScale) {
182-
// fit to x axis
183182
yScale = xScale;
184183
} else {
185-
// fit to y axis
186184
xScale = yScale;
187185
}
188186

@@ -266,4 +264,4 @@ public:
266264
@property bool canDraw() {
267265
return _canDraw;
268266
}
269-
}
267+
}

0 commit comments

Comments
 (0)