changeset 27791:e2de8c3d9332

(find_charset_in_str): Fix use of `c' instead of `c1'.
author Dave Love <fx@gnu.org>
date Mon, 21 Feb 2000 10:03:46 +0000
parents 21ffa053e9fe
children de64340fea42
files src/charset.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/charset.c	Sun Feb 20 21:54:26 2000 +0000
+++ b/src/charset.c	Mon Feb 21 10:03:46 2000 +0000
@@ -773,7 +773,7 @@
      Lisp_Object table;
      int multibyte;
 {
-  register int num = 0, c;
+  register int num = 0;
 
   if (! multibyte)
     {
@@ -808,7 +808,7 @@
 	{
 	  int c1 = translate_char (table, -1, charset, c1, c2);
 	  if (c1 >= 0)
-	    charset = CHAR_CHARSET (c);
+	    charset = CHAR_CHARSET (c1);
 	}
 
       if (!charsets[charset])