# | Line 257 | Line 257 | register int box[3][2]; | |
---|---|---|
257 | for (r = box[RED][0]; r < box[RED][1]; r++) | |
258 | for (g = box[GRN][0]; g < box[GRN][1]; g++) | |
259 | for (b = box[BLU][0]; b < box[BLU][1]; b++) { | |
260 | < | if (c = histo[r][g][b]) { |
260 | > | if ( (c = histo[r][g][b]) ) { |
261 | n += c; | |
262 | sum[RED] += (long)c*r; | |
263 | sum[GRN] += (long)c*g; |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |