diff options
author | mert <mert.tumer@collabora.com> | 2019-11-25 07:55:21 +0300 |
---|---|---|
committer | Michael Meeks <michael.meeks@collabora.com> | 2019-11-27 05:34:27 +0100 |
commit | ba423563307b9e7943723042dcfa8ccf029e9faf (patch) | |
tree | 3a7b1aa0adddabd9565b139105422673672d5f26 /kit | |
parent | 99ed303e2fd884e77f50a433c5fd46f997007c65 (diff) |
Fix minor comparison error
This patch is a follow-up for overflowing
watermarks patch
Change-Id: I8613736dc4fea49a22ae29aba209c95b1ea93557
Reviewed-on: https://gerrit.libreoffice.org/83635
Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
Tested-by: Michael Meeks <michael.meeks@collabora.com>
Diffstat (limited to 'kit')
-rw-r--r-- | kit/Watermark.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kit/Watermark.hpp b/kit/Watermark.hpp index 47aea5878..5fc0e5c3c 100644 --- a/kit/Watermark.hpp +++ b/kit/Watermark.hpp @@ -71,7 +71,7 @@ private: { unsigned char* t = to + 4 * (to_y * to_width + to_x); - if (t[3] != 255.0) + if (t[3] != 255) continue; double dst_r = t[0]; |