Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
4e8231f3
Commit
4e8231f3
authored
Apr 25, 2009
by
YAMAMOTO Mitsuharu
Browse files
(init_fringe_bitmap) [HAVE_X_WINDOWS && WORDS_BIG_ENDIAN]:
Swap bytes in short integer if fringe bitmap width > 8.
parent
65a099b6
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
1 deletion
+10
-1
src/ChangeLog
src/ChangeLog
+5
-0
src/fringe.c
src/fringe.c
+5
-1
No files found.
src/ChangeLog
View file @
4e8231f3
2009-04-25 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
* fringe.c (init_fringe_bitmap) [HAVE_X_WINDOWS && WORDS_BIG_ENDIAN]:
Swap bytes in short integer if fringe bitmap width > 8.
2009-04-23 Kenichi Handa <handa@m17n.org>
* xfaces.c (Fx_list_fonts): If a font size is specified in
...
...
src/fringe.c
View file @
4e8231f3
...
...
@@ -1369,7 +1369,11 @@ init_fringe_bitmap (which, fb, once_p)
|
(
swap_nibble
[(
b
>>
4
)
&
0xf
]
<<
8
)
|
(
swap_nibble
[(
b
>>
8
)
&
0xf
]
<<
4
)
|
(
swap_nibble
[(
b
>>
12
)
&
0xf
]));
*
bits
++
=
(
b
>>
(
16
-
fb
->
width
));
b
>>=
(
16
-
fb
->
width
);
#ifdef WORDS_BIG_ENDIAN
b
=
((
b
>>
8
)
|
(
b
<<
8
));
#endif
*
bits
++
=
b
;
}
}
#endif
/* HAVE_X_WINDOWS */
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment