diff src/file-coding.c @ 4830:a9833e8a32ec

fix typo in query code
author Ben Wing <ben@xemacs.org>
date Sun, 10 Jan 2010 00:48:55 -0600
parents 257b468bf2ca
children 5f1c6ca4d05e
line wrap: on
line diff
--- a/src/file-coding.c	Sun Dec 27 20:16:57 2009 -0600
+++ b/src/file-coding.c	Sun Jan 10 00:48:55 2010 -0600
@@ -500,7 +500,7 @@
           fail_range_start = pos;
           while ((pos < end) &&  
                  (EQ (Qnil, get_char_table (ch, safe_chars))
-                  && (failed_reason = query_coding_unencodable))
+                  && (failed_reason == query_coding_unencodable))
                  && (previous_failed_reason == query_coding_succeeded
                      || previous_failed_reason == failed_reason))
             {