diff src/charset.c @ 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 1e05c673aa18
children 75bd73426842
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])