(wrong string) ée

From: <git_AT_suckless.org>
Date: Fri, 20 Jan 2017 16:02:57 +0100 (CET)

commit 0ec6b43bdc2c15121280b771be2053d957537b6e
Author: Mattias Andrée <maandree_AT_kth.se>
AuthorDate: Fri Jan 20 14:31:02 2017 +0100
Commit: Mattias Andrée <maandree_AT_kth.se>
CommitDate: Fri Jan 20 14:31:02 2017 +0100

    blind-dissolve: fix direction
    
    Signed-off-by: Mattias Andrée <maandree_AT_kth.se>

diff --git a/src/blind-dissolve.c b/src/blind-dissolve.c
index 1873975..980d6a6 100644
--- a/src/blind-dissolve.c
+++ b/src/blind-dissolve.c
_AT_@ -17,7 +17,7 @@ process_xyza(struct stream *stream, size_t n, size_t f)
         double a;
         for (i = 0; i < n; i += stream->pixel_size) {
                 a = ((double *)(stream->buf + i))[3];
- a = a * (double)f / fmd;
+ a = a * (double)(fm - f) / fmd;
                 ((double *)(stream->buf + i))[3] = a;
         }
 }
_AT_@ -29,7 +29,7 @@ process_xyza_r(struct stream *stream, size_t n, size_t f)
         double a;
         for (i = 0; i < n; i += stream->pixel_size) {
                 a = ((double *)(stream->buf + i))[3];
- a = a * (double)(fm - f) / fmd;
+ a = a * (double)f / fmd;
                 ((double *)(stream->buf + i))[3] = a;
         }
 }
Received on Fri Jan 20 2017 - 16:02:57 CET

This archive was generated by hypermail 2.3.0 : Fri Jan 20 2017 - 16:12:27 CET