diff options
author | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2017-04-14 18:42:48 +0200 |
---|---|---|
committer | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2017-04-14 18:42:48 +0200 |
commit | c0cffd791bfaffaad631076141fcdfc000adcac1 (patch) | |
tree | 18aa64564a5c0abaf8fb908041de106cca11548b /util/AnsiTerm.cpp | |
parent | e3a9bfc89256e939ab1c1f56f6961b6ee15aa84a (diff) |
New upstream version 3.0.4upstream/3.0.4
Diffstat (limited to 'util/AnsiTerm.cpp')
-rw-r--r-- | util/AnsiTerm.cpp | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/util/AnsiTerm.cpp b/util/AnsiTerm.cpp index 750fd52..956ec98 100644 --- a/util/AnsiTerm.cpp +++ b/util/AnsiTerm.cpp @@ -1774,7 +1774,8 @@ CAnsiTerm::ProcessSGR(void) break; default: - assert(false); + dbglog("ERROR: bad SGR param %d (0x%02x)\n",index,index); + m_Attribute = kDefaultAttribute; break; } } @@ -1798,6 +1799,7 @@ CAnsiTerm::ProcessSM(void) { case 0: default: + dbglog("ERROR: bad private SM param %d\n",m_Parameters[0]); assert(false); break; case DECCKM: @@ -1846,8 +1848,9 @@ CAnsiTerm::ProcessSM(void) { case 20: m_bLineFeedNewLineMode = true; break; // LNM default: - dbglog("ProcessSM: param %d != 20\n",m_Parameters[0]); - assert(false); break; + dbglog("ProcessSM: param %d != 20\n",m_Parameters[0]); + assert(false); + break; } } } |