[gimp] app: small fix in gimpbrushcore-kernels.h
- From: Ell <ell src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp] app: small fix in gimpbrushcore-kernels.h
- Date: Wed, 6 Feb 2019 21:51:54 +0000 (UTC)
commit cbe40000f58c9b25d081ce2144dd13a51c2fc488
Author: Ell <ell_se yahoo com>
Date: Wed Feb 6 15:12:26 2019 -0500
app: small fix in gimpbrushcore-kernels.h
app/paint/gimpbrushcore-kernels.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/app/paint/gimpbrushcore-kernels.h b/app/paint/gimpbrushcore-kernels.h
index 32503ef56e..ea5eb4530c 100644
--- a/app/paint/gimpbrushcore-kernels.h
+++ b/app/paint/gimpbrushcore-kernels.h
@@ -34,7 +34,7 @@ struct Kernel<guchar>
static constexpr value_type
round (accum_type x)
{
- return (x + 127) / 256;
+ return (x + 128) / 256;
}
};
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]