aboutsummaryrefslogtreecommitdiffstats
path: root/src/term.c
diff options
context:
space:
mode:
authorPaul Eggert2011-01-22 18:56:06 -0800
committerPaul Eggert2011-01-22 18:56:06 -0800
commit51b59d794fe1d4a82fcd842b478657cc93f91595 (patch)
tree25e57573403a13f3fe70934b40bf38c0190fd5ed /src/term.c
parent9e928ac989c824c376b1ab576a6da69cd86b12c6 (diff)
downloademacs-51b59d794fe1d4a82fcd842b478657cc93f91595.tar.gz
emacs-51b59d794fe1d4a82fcd842b478657cc93f91595.zip
Promote SSDATA macro from gtkutil.c and xsmfns.c to lisp.h.
Diffstat (limited to 'src/term.c')
-rw-r--r--src/term.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/term.c b/src/term.c
index 63548304a75..f8484ce636c 100644
--- a/src/term.c
+++ b/src/term.c
@@ -1949,7 +1949,7 @@ produce_glyphless_glyph (struct it *it, int for_no_font, Lisp_Object acronym)
1949 if (! STRINGP (acronym) && CHAR_TABLE_P (Vglyphless_char_display)) 1949 if (! STRINGP (acronym) && CHAR_TABLE_P (Vglyphless_char_display))
1950 acronym = CHAR_TABLE_REF (Vglyphless_char_display, it->c); 1950 acronym = CHAR_TABLE_REF (Vglyphless_char_display, it->c);
1951 buf[0] = '['; 1951 buf[0] = '[';
1952 str = STRINGP (acronym) ? (char *) SDATA (acronym) : ""; 1952 str = STRINGP (acronym) ? SSDATA (acronym) : "";
1953 for (len = 0; len < 6 && str[len] && ASCII_BYTE_P (str[len]); len++) 1953 for (len = 0; len < 6 && str[len] && ASCII_BYTE_P (str[len]); len++)
1954 buf[1 + len] = str[len]; 1954 buf[1 + len] = str[len];
1955 buf[1 + len] = ']'; 1955 buf[1 + len] = ']';
@@ -3157,7 +3157,7 @@ init_tty (const char *name, const char *terminal_type, int must_succeed)
3157 tty->mouse_highlight.mouse_face_window = Qnil; 3157 tty->mouse_highlight.mouse_face_window = Qnil;
3158#endif 3158#endif
3159 3159
3160 3160
3161#ifndef DOS_NT 3161#ifndef DOS_NT
3162 set_tty_hooks (terminal); 3162 set_tty_hooks (terminal);
3163 3163
@@ -3800,4 +3800,3 @@ bigger, or it may make it blink, or it may do nothing at all. */);
3800 encode_terminal_src = NULL; 3800 encode_terminal_src = NULL;
3801 encode_terminal_dst = NULL; 3801 encode_terminal_dst = NULL;
3802} 3802}
3803