aboutsummaryrefslogtreecommitdiffstats
path: root/src/composite.c
diff options
context:
space:
mode:
authorAlexander Gramiak2019-03-23 11:19:40 -0600
committerAlexander Gramiak2019-04-26 16:10:49 -0600
commitff4e31fa328a2cee5197beb20f068eb021712b5c (patch)
treed49388dd87c3cf11f6231baae8a85089b3344c0f /src/composite.c
parent86b6e91091ba14edb4811427fec8fe194f6520d4 (diff)
downloademacs-ff4e31fa328a2cee5197beb20f068eb021712b5c.tar.gz
emacs-ff4e31fa328a2cee5197beb20f068eb021712b5c.zip
Rename generic x_* procedures in xdisp.c
* src/xdisp.c (x_consider_frame_title, x_get_glyph_overhangs) (x_produce_glyphs, x_write_glyphs, x_insert_glyphs) (x_clear_end_of_line), x_fix_overlapping_area) (x_update_cursor, x_clear_cursor, x_clear_window_mouse_face) (x_draw_vertical_border, x_draw_right_divider, x_draw_bottom_divider) (x_intersect_rectangles): Rename with a gui prefix to indicate non-X-specific functionality. * src/composite.c: * src/dispextern.h: * src/nsfns.m: * src/nsterm.m: * src/w32fns.c: * src/w32term.c: * src/window.c: * src/xfns.c: * src/xterm.c: Use the renamed procedures.
Diffstat (limited to 'src/composite.c')
-rw-r--r--src/composite.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/composite.c b/src/composite.c
index 88f1235f116..7d7ed3f4a69 100644
--- a/src/composite.c
+++ b/src/composite.c
@@ -176,7 +176,7 @@ get_composition_id (ptrdiff_t charpos, ptrdiff_t bytepos, ptrdiff_t nchars,
176 176
177 /* Maximum length of a string of glyphs. XftGlyphExtents limits 177 /* Maximum length of a string of glyphs. XftGlyphExtents limits
178 this to INT_MAX, and Emacs limits it further. Divide INT_MAX - 1 178 this to INT_MAX, and Emacs limits it further. Divide INT_MAX - 1
179 by 2 because x_produce_glyphs computes glyph_len * 2 + 1. Divide 179 by 2 because gui_produce_glyphs computes glyph_len * 2 + 1. Divide
180 the size by MAX_MULTIBYTE_LENGTH because encode_terminal_code 180 the size by MAX_MULTIBYTE_LENGTH because encode_terminal_code
181 multiplies glyph_len by MAX_MULTIBYTE_LENGTH. */ 181 multiplies glyph_len by MAX_MULTIBYTE_LENGTH. */
182 enum { 182 enum {