diff options
| author | Dave Love | 2000-02-21 10:03:46 +0000 |
|---|---|---|
| committer | Dave Love | 2000-02-21 10:03:46 +0000 |
| commit | 65d0af2992a3fa28bd9ac8ca20133220273d5bae (patch) | |
| tree | 380ceccee3471e59657af416f8821385b89bf1cf /src | |
| parent | 1d92afcdb4f94e02948d6914923221aa025dd00b (diff) | |
| download | emacs-65d0af2992a3fa28bd9ac8ca20133220273d5bae.tar.gz emacs-65d0af2992a3fa28bd9ac8ca20133220273d5bae.zip | |
(find_charset_in_str): Fix use of `c' instead of `c1'.
Diffstat (limited to 'src')
| -rw-r--r-- | src/charset.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/charset.c b/src/charset.c index 04afa7f3237..c040134f1bb 100644 --- a/src/charset.c +++ b/src/charset.c | |||
| @@ -773,7 +773,7 @@ find_charset_in_str (str, len, charsets, table, multibyte) | |||
| 773 | Lisp_Object table; | 773 | Lisp_Object table; |
| 774 | int multibyte; | 774 | int multibyte; |
| 775 | { | 775 | { |
| 776 | register int num = 0, c; | 776 | register int num = 0; |
| 777 | 777 | ||
| 778 | if (! multibyte) | 778 | if (! multibyte) |
| 779 | { | 779 | { |
| @@ -808,7 +808,7 @@ find_charset_in_str (str, len, charsets, table, multibyte) | |||
| 808 | { | 808 | { |
| 809 | int c1 = translate_char (table, -1, charset, c1, c2); | 809 | int c1 = translate_char (table, -1, charset, c1, c2); |
| 810 | if (c1 >= 0) | 810 | if (c1 >= 0) |
| 811 | charset = CHAR_CHARSET (c); | 811 | charset = CHAR_CHARSET (c1); |
| 812 | } | 812 | } |
| 813 | 813 | ||
| 814 | if (!charsets[charset]) | 814 | if (!charsets[charset]) |