diff --git a/src/editor/editdraw.c b/src/editor/editdraw.c
index bdaea7493..c75ac712b 100644
a
|
b
|
edit_draw_this_line (WEdit *edit, off_t b, long row, long start_col, long end_co |
759 | 759 | control_char = TRUE; |
760 | 760 | break; |
761 | 761 | } |
762 | | #ifdef HAVE_CHARSET |
763 | | if (edit->utf8) |
| 762 | if ((mc_global.utf8_display && g_unichar_isprint (c)) || |
| 763 | (!mc_global.utf8_display && is_printable (c))) |
764 | 764 | { |
765 | | if (g_unichar_isprint (c)) |
766 | | p->ch = c; |
767 | | else |
768 | | { |
769 | | p->ch = '.'; |
770 | | p->style = abn_style; |
771 | | } |
| 765 | p->ch = c; |
772 | 766 | p++; |
773 | 767 | } |
774 | 768 | else |
775 | | #endif |
776 | 769 | { |
777 | | if ((mc_global.utf8_display && g_unichar_isprint (c)) || |
778 | | (!mc_global.utf8_display && is_printable (c))) |
779 | | { |
780 | | p->ch = c; |
781 | | p++; |
782 | | } |
783 | | else |
784 | | { |
785 | | p->ch = '.'; |
786 | | p->style = abn_style; |
787 | | p++; |
788 | | } |
| 770 | p->ch = '.'; |
| 771 | p->style = abn_style; |
| 772 | p++; |
789 | 773 | } |
790 | 774 | col++; |
791 | 775 | break; |