diff options
author | B Stack <bgstack15@gmail.com> | 2018-08-10 11:29:21 -0400 |
---|---|---|
committer | B Stack <bgstack15@gmail.com> | 2018-08-10 11:29:21 -0400 |
commit | a9255194193b04d599b9f0a64cde6b831dd7d916 (patch) | |
tree | 8b975393f5b0f7b4403da85f5095ad57581178e5 /xBRZ/src | |
parent | 10.2 (diff) | |
download | FreeFileSync-10.3.tar.gz FreeFileSync-10.3.tar.bz2 FreeFileSync-10.3.zip |
10.310.3
Diffstat (limited to 'xBRZ/src')
-rwxr-xr-x | xBRZ/src/xbrz.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
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) |