Changeset 374 for libcaca


Ignore:
Timestamp:
Nov 4, 2004, 10:19:52 PM (18 years ago)
Author:
Sam Hocevar
Message:
  • src/bitmap.c: oops, removed spurious test code.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • libcaca/trunk/src/bitmap.c

    r373 r374  
    676676            int newb = i * fg_b + ((2*DCHMAX-1) - i) * bg_b;
    677677            dist = abs(r * (2*DCHMAX-1) - newr)
    678                  * abs(g * (2*DCHMAX-1) - newg)
    679                  * abs(b * (2*DCHMAX-1) - newb);
     678                 + abs(g * (2*DCHMAX-1) - newg)
     679                 + abs(b * (2*DCHMAX-1) - newb);
    680680
    681681            if(dist < distmin)
Note: See TracChangeset for help on using the changeset viewer.