[gimp/pippin/linear-is-the-new-black: 1/8] app: another overlay formula transcription typos



commit 66e702e59f147d3fc7509e7451d688122aab8770
Author: Øyvind Kolås <pippin gimp org>
Date:   Mon Jan 23 20:24:17 2017 +0100

    app: another overlay formula transcription typos

 app/operations/layer-modes/gimpblendcomposite.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/app/operations/layer-modes/gimpblendcomposite.h b/app/operations/layer-modes/gimpblendcomposite.h
index 1a0b555..d28961c 100644
--- a/app/operations/layer-modes/gimpblendcomposite.h
+++ b/app/operations/layer-modes/gimpblendcomposite.h
@@ -831,7 +831,7 @@ blendfun_overlay (const float *dest,
             {
               gfloat comp;
 
-              if (src[c] < 0.5f)
+              if (dest[c] < 0.5f)
                 {
                   comp = 2.0f * dest[c] * src[c];
                 }


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]