changeset 89068:6ba025c9a3d1

(Fset_buffer_multibyte, Fset_buffer_multibyte): Fix type error.
author Dave Love <fx@gnu.org>
date Thu, 05 Sep 2002 16:59:44 +0000
parents 19aca472bab4
children c2201502f37e
files src/buffer.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/buffer.c	Thu Sep 05 16:59:35 2002 +0000
+++ b/src/buffer.c	Thu Sep 05 16:59:44 2002 +0000
@@ -2198,7 +2198,7 @@
 	      
 	  if (ASCII_BYTE_P (*p))
 	    p++, pos++;
-	  else if (method == Qas
+	  else if (EQ (method, Qas)
 		   && (bytes = MULTIBYTE_LENGTH (p, pend)) > 0)
 	    p += bytes, pos += bytes;
 	  else
@@ -2206,7 +2206,7 @@
 	      unsigned char tmp[MAX_MULTIBYTE_LENGTH];
 	      int c;
 
-	      if (method == Qmake)
+	      if (EQ (method, Qmake))
 		c = unibyte_char_to_multibyte (*p);
 	      else
 		c = BYTE8_TO_CHAR (*p);