Mercurial > hg > xemacs-beta
diff src/file-coding.c @ 4839:5f1c6ca4d05e
fix bad change to default_query_method, rewrite conditional for more correctness
author | Ben Wing <ben@xemacs.org> |
---|---|
date | Tue, 12 Jan 2010 23:16:33 -0600 |
parents | a9833e8a32ec |
children | a98ca4640147 |
line wrap: on
line diff
--- a/src/file-coding.c Tue Jan 12 01:53:35 2010 -0600 +++ b/src/file-coding.c Tue Jan 12 23:16:33 2010 -0600 @@ -500,9 +500,9 @@ fail_range_start = pos; while ((pos < end) && (EQ (Qnil, get_char_table (ch, safe_chars)) - && (failed_reason == query_coding_unencodable)) - && (previous_failed_reason == query_coding_succeeded - || previous_failed_reason == failed_reason)) + && (failed_reason = query_coding_unencodable, + (previous_failed_reason == query_coding_succeeded + || previous_failed_reason == failed_reason)))) { pos++; INC_BYTEBPOS (buf, pos_byte);