diff options
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]) |