changeset 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 2527d8d9a450
children 850fd8c37942
files src/ChangeLog src/coding.c
diffstat 2 files changed, 5 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/ChangeLog	Mon Jun 15 20:55:53 2009 +0000
+++ b/src/ChangeLog	Mon Jun 15 21:36:44 2009 +0000
@@ -1,3 +1,7 @@
+2009-06-15  Andreas Schwab  <schwab@linux-m68k.org>
+
+	* coding.c (detect_coding_utf_16): Fix typo counting odd bytes.
+
 2009-06-15  Kenichi Handa  <handa@m17n.org>
 
 	* process.c (status_message): Fix previous change.  Be sure to
--- 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;