# | Line 118 | Line 118 | COLR clr; | |
---|---|---|
118 | register int x; | |
119 | { | |
120 | static int cerr[NCOLS]; | |
121 | < | static int err; |
121 | > | static int err, errp; |
122 | int b; | |
123 | register int isblack; | |
124 | ||
125 | b = normbright(clr); | |
126 | + | errp = err; |
127 | err += b + cerr[x]; | |
128 | isblack = err < 128; | |
129 | if (!isblack) err -= 256; | |
130 | < | cerr[x] = err /= 2; |
130 | > | err /= 3; |
131 | > | cerr[x] = err + errp; |
132 | return(isblack); | |
133 | } |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |