From 55149952159d1b18599bff1b4ed0eee1688fbe6d Mon Sep 17 00:00:00 2001 From: lltcggie Date: Fri, 8 Jul 2016 22:02:12 +0900 Subject: [PATCH] =?UTF-8?q?=E7=B8=A6=E5=B9=85=E6=8C=87=E5=AE=9A=E6=8B=A1?= =?UTF-8?q?=E5=A4=A7=E3=81=AE=E5=8B=95=E4=BD=9C=E3=81=8C=E6=A8=AA=E5=B9=85?= =?UTF-8?q?=E6=8C=87=E5=AE=9A=E3=81=A8=E5=90=8C=E3=81=98=E3=81=AB=E3=81=AA?= =?UTF-8?q?=E3=81=A3=E3=81=A6=E3=81=84=E3=81=9F=E3=83=90=E3=82=B0=E3=82=92?= =?UTF-8?q?=E4=BF=AE=E6=AD=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- common/waifu2x.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/waifu2x.cpp b/common/waifu2x.cpp index 4ab47b0..6325e5d 100644 --- a/common/waifu2x.cpp +++ b/common/waifu2x.cpp @@ -835,7 +835,7 @@ double Waifu2x::CalcScaleRatio(const boost::optional scale_ratio, const return image.GetScaleFromWidth(*scale_width); if(scale_height) - return image.GetScaleFromWidth(*scale_height); + return image.GetScaleFromHeight(*scale_height); return 1.0; }