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
8ed79523
Commit
8ed79523
authored
Mar 24, 2012
by
Andreas Schwab
Browse files
* xdisp.c (produce_glyphless_glyph): Limit length of acronym to 6
characters.
parent
7d1c3a76
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
1 deletion
+4
-1
src/ChangeLog
src/ChangeLog
+3
-0
src/xdisp.c
src/xdisp.c
+1
-1
No files found.
src/ChangeLog
View file @
8ed79523
2012-03-24 Andreas Schwab <schwab@linux-m68k.org>
* xdisp.c (produce_glyphless_glyph): Limit length of acronym to 6
characters.
* xterm.c (XTread_socket): Only modify handling_signal if
!SYNC_INPUT. (Bug#11080)
...
...
src/xdisp.c
View file @
8ed79523
...
...
@@ -24013,7 +24013,7 @@ produce_glyphless_glyph (struct it *it, int for_no_font, Lisp_Object acronym)
sprintf (buf, "%0*X", it->c < 0x10000 ? 4 : 6, it->c);
str = buf;
}
for (len = 0; str[len] && ASCII_BYTE_P (str[len]); len++)
for (len = 0; str[len] && ASCII_BYTE_P (str[len])
&& len < 6
; len++)
code[len] = font->driver->encode_char (font, str[len]);
upper_len = (len + 1) / 2;
font->driver->text_extents (font, code, upper_len,
...
...
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