From a9255194193b04d599b9f0a64cde6b831dd7d916 Mon Sep 17 00:00:00 2001 From: B Stack Date: Fri, 10 Aug 2018 11:29:21 -0400 Subject: 10.3 --- xBRZ/src/xbrz.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'xBRZ/src') diff --git a/xBRZ/src/xbrz.cpp b/xBRZ/src/xbrz.cpp index 3cbd0d64..b8065f5d 100755 --- a/xBRZ/src/xbrz.cpp +++ b/xBRZ/src/xbrz.cpp @@ -1065,11 +1065,11 @@ struct ColorGradientARGB void xbrz::scale(size_t factor, const uint32_t* src, uint32_t* trg, int srcWidth, int srcHeight, ColorFormat colFmt, const xbrz::ScalerCfg& cfg, int yFirst, int yLast) { -if (factor == 1) - { - std::copy(src + yFirst * srcWidth, src + yLast * srcWidth, trg); - return; - } + if (factor == 1) + { + std::copy(src + yFirst * srcWidth, src + yLast * srcWidth, trg); + return; + } static_assert(SCALE_FACTOR_MAX == 6); switch (colFmt) -- cgit