diff src/coding.c @ 103435:45564d023acc

(detect_coding_utf_16): Fix typo counting odd bytes.
author Andreas Schwab <schwab@linux-m68k.org>
date Mon, 15 Jun 2009 21:36:44 +0000
parents 3680b4fe0f79
children d08523c14cca
line wrap: on
line diff
--- a/src/coding.c	Mon Jun 15 20:55:53 2009 +0000
+++ b/src/coding.c	Mon Jun 15 21:36:44 2009 +0000
@@ -1682,7 +1682,7 @@
 	    }
 	  if (! o[c2])
 	    {
-	      o[c1] = 1;
+	      o[c2] = 1;
 	      o_num++;
 	      if (o_num >= 128)
 		break;