From: Pasi Kallinen Date: Mon, 3 Oct 2011 15:36:03 +0000 (+0000) Subject: Ignore some more spurious vt100 G-charset switches in IBM mode. X-Git-Tag: v1.6.1-roc-dev~109 X-Git-Url: https://skyeroc.xyz/gitweb/?a=commitdiff_plain;h=ae54e1ae83997a7d42183e375c4aec3d7c0d94c2;p=dgamelaunch 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 ) git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@601 db0b04b0-f4d1-0310-9a6d-de3e77497b0e --- diff --git a/ttyrec.c b/ttyrec.c index ac93161..720589d 100644 --- a/ttyrec.c +++ b/ttyrec.c @@ -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;