[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] Changes to emacs/src/fringe.c,v
From: |
Glenn Morris |
Subject: |
[Emacs-diffs] Changes to emacs/src/fringe.c,v |
Date: |
Fri, 14 Sep 2007 07:33:27 +0000 |
CVSROOT: /sources/emacs
Module name: emacs
Changes by: Glenn Morris <gm> 07/09/14 07:33:27
Index: fringe.c
===================================================================
RCS file: /sources/emacs/emacs/src/fringe.c,v
retrieving revision 1.47
retrieving revision 1.48
diff -u -b -r1.47 -r1.48
--- fringe.c 13 Sep 2007 22:24:16 -0000 1.47
+++ fringe.c 14 Sep 2007 07:33:27 -0000 1.48
@@ -1330,6 +1330,14 @@
On W32 and MAC (little endian), there's no need to do this.
*/
+#if defined (HAVE_X_WINDOWS)
+static unsigned char swap_nibble[16] = {
+ 0x0, 0x8, 0x4, 0xc, /* 0000 1000 0100 1100 */
+ 0x2, 0xa, 0x6, 0xe, /* 0010 1010 0110 1110 */
+ 0x1, 0x9, 0x5, 0xd, /* 0001 1001 0101 1101 */
+ 0x3, 0xb, 0x7, 0xf}; /* 0011 1011 0111 1111 */
+#endif /* HAVE_X_WINDOWS */
+
void
init_fringe_bitmap (which, fb, once_p)
int which;
@@ -1339,11 +1347,6 @@
if (once_p || fb->dynamic)
{
#if defined (HAVE_X_WINDOWS)
- static unsigned char swap_nibble[16]
- = { 0x0, 0x8, 0x4, 0xc, /* 0000 1000 0100 1100 */
- 0x2, 0xa, 0x6, 0xe, /* 0010 1010 0110 1110 */
- 0x1, 0x9, 0x5, 0xd, /* 0001 1001 0101 1101 */
- 0x3, 0xb, 0x7, 0xf }; /* 0011 1011 0111 1111 */
unsigned short *bits = fb->bits;
int j;