diff options
| author | Andreas Schwab | 2009-02-22 15:48:02 +0000 |
|---|---|---|
| committer | Andreas Schwab | 2009-02-22 15:48:02 +0000 |
| commit | 1b3b981ba9f1781d3054f10e2fa9b1a330c68268 (patch) | |
| tree | 3728d47b1f005a45a8092e5f9e6904d618e9d071 /src/coding.h | |
| parent | b3b58c01900f2c028f00d4aa8d432cdc53f072be (diff) | |
| download | emacs-1b3b981ba9f1781d3054f10e2fa9b1a330c68268.tar.gz emacs-1b3b981ba9f1781d3054f10e2fa9b1a330c68268.zip | |
* coding.h (struct coding_system): Make safe_charsets a pointer to
unsigned char.
* coding.c (CODING_ISO_REQUEST): Check for safe_charsets content
being 255.
(SAFE_CHARSET_P): Likewise.
(setup_iso_safe_charsets): Properly setup safe_charsets.
(Fdefine_coding_system_internal): Likewise.
(setup_coding_system): Likewise. Remove unneeded casts.
(detect_coding_iso_2022): Compare Viso_2022_charset_list with
CODING_ATTR_CHARSET_LIST, not CODING_ATTR_SAFE_CHARSETS. Remove
unneeded casts.
Diffstat (limited to 'src/coding.h')
| -rw-r--r-- | src/coding.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/coding.h b/src/coding.h index 544dd44bb93..3daf4a725f2 100644 --- a/src/coding.h +++ b/src/coding.h | |||
| @@ -391,7 +391,7 @@ struct coding_system | |||
| 391 | } spec; | 391 | } spec; |
| 392 | 392 | ||
| 393 | int max_charset_id; | 393 | int max_charset_id; |
| 394 | char *safe_charsets; | 394 | unsigned char *safe_charsets; |
| 395 | 395 | ||
| 396 | /* The following two members specify how binary 8-bit code 128..255 | 396 | /* The following two members specify how binary 8-bit code 128..255 |
| 397 | are represented in source and destination text respectively. 1 | 397 | are represented in source and destination text respectively. 1 |