Changeset 441 for pwntcha


Ignore:
Timestamp:
Jan 10, 2005, 1:29:51 AM (16 years ago)
Author:
Sam Hocevar
Message:
  • fixed bound error in filter_contrast
File:
1 edited

Legend:

Unmodified
Added
Removed
  • pwntcha/trunk/src/filters.c

    r430 r441  
    384384        histo[min] = 127;
    385385    else
    386         for(i = min; i < max; i++)
     386        for(i = min; i < max + 1; i++)
    387387            histo[i] = (i - min) * 255 / (max - min);
    388388
Note: See TracChangeset for help on using the changeset viewer.