# HG changeset patch # User Ben Wing # Date 1263106135 21600 # Node ID a9833e8a32ecfb2e0c58a30ee505903dbec037ac # Parent 9987da5935bd27d80d92c27325ee00891d84ba20 fix typo in query code diff -r 9987da5935bd -r a9833e8a32ec src/file-coding.c --- 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)) {