Ignore some more spurious vt100 G-charset switches in IBM mode.

Apparently CAO's ncurses emits it while mine doesn't, and this breaks
    some terminals, including gnome-terminal but not PuTTY.
    (Adam Borowski <kilobyte@angband.pl>)


git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@601 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
This commit is contained in:
Pasi Kallinen 2011-10-03 15:36:03 +00:00
parent cc6cf14b6f
commit ae54e1ae83
1 changed files with 2 additions and 0 deletions

View File

@ -433,6 +433,8 @@ dooutput (int max_idle_time)
galt = 1;
continue;
}
else if (obuf[i] == 14 || obuf[i] == 15)
continue;
out += wctoutf8(out, charset_cp437[(unsigned char)obuf[i]]);
}
h.len = len = out - ubuf;