summaryrefslogtreecommitdiffstats
path: root/generic/tkImgBmap.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2012-04-20 12:50:11 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2012-04-20 12:50:11 (GMT)
commit4536458f719fdc35f247c8139aad6b8b71471048 (patch)
treeac02899a473761587e13b2906482b07f4bb0bb66 /generic/tkImgBmap.c
parentf4876885b53d6ed34fb1c3577e0c2d238a871953 (diff)
parent8077dd948e9d7c758be18837a1cc637007e50084 (diff)
downloadtk-4536458f719fdc35f247c8139aad6b8b71471048.zip
tk-4536458f719fdc35f247c8139aad6b8b71471048.tar.gz
tk-4536458f719fdc35f247c8139aad6b8b71471048.tar.bz2
fix (hopefully) menu posting in the same way as window placement
Diffstat (limited to 'generic/tkImgBmap.c')
-rw-r--r--generic/tkImgBmap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/generic/tkImgBmap.c b/generic/tkImgBmap.c
index e1ccecb..2542697 100644
--- a/generic/tkImgBmap.c
+++ b/generic/tkImgBmap.c
@@ -1159,7 +1159,7 @@ ImgBmapPsImagemask(interp, width, height, data)
* on the left.) The following array is used to reverse the order of bits
* within a byte so that the bits will be in the order postscript expects.
*/
- static unsigned char bit_reverse[] = {
+ static CONST unsigned char bit_reverse[] = {
0, 128, 64, 192, 32, 160, 96, 224, 16, 144, 80, 208, 48, 176, 112, 240,
8, 136, 72, 200, 40, 168, 104, 232, 24, 152, 88, 216, 56, 184, 120, 248,
4, 132, 68, 196, 36, 164, 100, 228, 20, 148, 84, 212, 52, 180, 116, 244,