diff options
| author | Paul Eggert | 2011-01-22 18:56:06 -0800 |
|---|---|---|
| committer | Paul Eggert | 2011-01-22 18:56:06 -0800 |
| commit | 51b59d794fe1d4a82fcd842b478657cc93f91595 (patch) | |
| tree | 25e57573403a13f3fe70934b40bf38c0190fd5ed /src/coding.c | |
| parent | 9e928ac989c824c376b1ab576a6da69cd86b12c6 (diff) | |
| download | emacs-51b59d794fe1d4a82fcd842b478657cc93f91595.tar.gz emacs-51b59d794fe1d4a82fcd842b478657cc93f91595.zip | |
Promote SSDATA macro from gtkutil.c and xsmfns.c to lisp.h.
Diffstat (limited to 'src/coding.c')
| -rw-r--r-- | src/coding.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/coding.c b/src/coding.c index 4d47b28cf33..dc86112ee87 100644 --- a/src/coding.c +++ b/src/coding.c | |||
| @@ -5380,9 +5380,9 @@ detect_coding_charset (struct coding_system *coding, | |||
| 5380 | attrs = CODING_ID_ATTRS (coding->id); | 5380 | attrs = CODING_ID_ATTRS (coding->id); |
| 5381 | valids = AREF (attrs, coding_attr_charset_valids); | 5381 | valids = AREF (attrs, coding_attr_charset_valids); |
| 5382 | name = CODING_ID_NAME (coding->id); | 5382 | name = CODING_ID_NAME (coding->id); |
| 5383 | if (strncmp ((char *) SDATA (SYMBOL_NAME (name)), | 5383 | if (strncmp (SSDATA (SYMBOL_NAME (name)), |
| 5384 | "iso-8859-", sizeof ("iso-8859-") - 1) == 0 | 5384 | "iso-8859-", sizeof ("iso-8859-") - 1) == 0 |
| 5385 | || strncmp ((char *) SDATA (SYMBOL_NAME (name)), | 5385 | || strncmp (SSDATA (SYMBOL_NAME (name)), |
| 5386 | "iso-latin-", sizeof ("iso-latin-") - 1) == 0) | 5386 | "iso-latin-", sizeof ("iso-latin-") - 1) == 0) |
| 5387 | check_latin_extra = 1; | 5387 | check_latin_extra = 1; |
| 5388 | 5388 | ||
| @@ -10827,7 +10827,7 @@ emacs_strerror (int error_number) | |||
| 10827 | Lisp_Object dec = code_convert_string_norecord (build_string (str), | 10827 | Lisp_Object dec = code_convert_string_norecord (build_string (str), |
| 10828 | Vlocale_coding_system, | 10828 | Vlocale_coding_system, |
| 10829 | 0); | 10829 | 0); |
| 10830 | str = (char *) SDATA (dec); | 10830 | str = SSDATA (dec); |
| 10831 | } | 10831 | } |
| 10832 | 10832 | ||
| 10833 | return str; | 10833 | return str; |