shithub: orca

Download patch

ref: f406736648cfe7d4d1b27a910540cb96984a5715
parent: 4bb6966550b52cff7a3e2633141ebae5ceb3f12a
author: cancel <cancel@cancel.fm>
date: Sun Nov 25 05:40:58 EST 2018

Change to fill bad file load chars with '.'

--- a/field.c
+++ b/field.c
@@ -182,7 +182,7 @@
     Term* rowbuff = field->buffer + first_row_columns * rows;
     for (size_t i = 0; i < len; ++i) {
       char c = buf[i];
-      rowbuff[i] = term_char_is_valid(c) ? c : '!';
+      rowbuff[i] = term_char_is_valid(c) ? c : '.';
     }
     ++rows;
   }