changeset 4830:a9833e8a32ec

fix typo in query code
author Ben Wing <ben@xemacs.org>
date Sun, 10 Jan 2010 00:48:55 -0600
parents 9987da5935bd
children 2e15c29cc2b3
files src/file-coding.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
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))
             {