projects
/
sxemacs
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Coverity fixes
[sxemacs]
/
src
/
ui
/
imgproc.h
diff --git
a/src/ui/imgproc.h
b/src/ui/imgproc.h
index
31c67e8
..
dbe8255
100644
(file)
--- a/
src/ui/imgproc.h
+++ b/
src/ui/imgproc.h
@@
-35,6
+35,7
@@
along with this program. If not, see <http://www.gnu.org/licenses/>. */
#define C_LEN (1L<<C_DEPTH) /* # cells/color to use */
#define COLOR_SHIFT (COLOR_DEPTH-B_DEPTH)
+#define COLOR_MASK (B_LEN-1)
typedef struct colorbox {
struct colorbox *next, *prev;