Fix encoding

This commit is contained in:
Vítor Santos Costa
2016-02-18 12:10:58 +00:00
parent 05a978ce82
commit 484168b1ce
18 changed files with 1557 additions and 1522 deletions

View File

@@ -49,13 +49,13 @@ console_post_process_read_char(int ch, StreamDesc *s)
/* the character is also going to be output by the console handler */
console_count_output_char(ch,GLOBAL_Stream+StdErrStream);
if (ch == '\n') {
CACHE_REGS
CACHE_REGS
++s->linecount;
++s->charcount;
s->linepos = 0;
LOCAL_newline = true;
} else {
CACHE_REGS
CACHE_REGS
++s->charcount;
++s->linepos;
LOCAL_newline = false;