aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJason Rumney2007-05-31 01:03:23 +0000
committerJason Rumney2007-05-31 01:03:23 +0000
commit20c41c132060b779471d71c023b4feae723be223 (patch)
tree5f28f6f8d57f8dfe492d70173e71a118b95124a7 /src
parentb70be25344bc90a2b99cf8e0e8d04f2a2634f957 (diff)
downloademacs-20c41c132060b779471d71c023b4feae723be223.tar.gz
emacs-20c41c132060b779471d71c023b4feae723be223.zip
(fill_composite_glyph_string): Make the first arg to
STORE_XCHARB a valid l-value.
Diffstat (limited to 'src')
-rw-r--r--src/xdisp.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/xdisp.c b/src/xdisp.c
index 1cc8cf10611..268def4a0f2 100644
--- a/src/xdisp.c
+++ b/src/xdisp.c
@@ -19154,11 +19154,12 @@ fill_composite_glyph_string (s, base_face, overlaps)
19154 { 19154 {
19155 Lisp_Object g = LGSTRING_GLYPH (gstring, i); 19155 Lisp_Object g = LGSTRING_GLYPH (gstring, i);
19156 unsigned code; 19156 unsigned code;
19157 19157 XChar2b * store_pos;
19158 if (NILP (LGLYPH_FROM (g))) 19158 if (NILP (LGLYPH_FROM (g)))
19159 break; 19159 break;
19160 code = XUINT (LGLYPH_CODE (g)); 19160 code = XUINT (LGLYPH_CODE (g));
19161 STORE_XCHAR2B (s->char2b + i, code >> 8, code & 0xFF); 19161 store_pos = s->char2b + i;
19162 STORE_XCHAR2B (store_pos, code >> 8, code & 0xFF);
19162 } 19163 }
19163 s->width = s->cmp->pixel_width; 19164 s->width = s->cmp->pixel_width;
19164 } 19165 }