From 218ae04c59df6b4c05a4144b0660f62903161b0c Mon Sep 17 00:00:00 2001 From: haru-s Date: Thu, 30 May 2024 20:24:59 +0900 Subject: [PATCH] typo --- source/dfl/printing.d | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/source/dfl/printing.d b/source/dfl/printing.d index 5740943..bd299d2 100644 --- a/source/dfl/printing.d +++ b/source/dfl/printing.d @@ -2219,12 +2219,12 @@ class PrintPreviewControl : Control if (this.autoZoom) { const Rect offscreenRect = Rect(0, 0, _offscreen.width, _offscreen.height); - uint onScreenHeight = this.height; + uint onscreenHeight = this.height; uint onscreenWidth = offscreenRect.width * this.height / offscreenRect.height; if (onscreenWidth >= this.width) { onscreenWidth = this.width; - onScreenHeight = offscreenRect.height * this.width / offscreenRect.width; + onscreenHeight = offscreenRect.height * this.width / offscreenRect.width; } SetStretchBltMode(_offscreen.handle, STRETCH_DELETESCANS); // SRC @@ -2233,7 +2233,7 @@ class PrintPreviewControl : Control 0, 0, onscreenWidth, - onScreenHeight, + onscreenHeight, _offscreen.handle, // SRC 0, 0,