Skip to content

Commit

Permalink
Merge pull request #13 from thp/unprintable-nul-byte-debug
Browse files Browse the repository at this point in the history
[debug] Remove "unprintable char 0" in debug messages
  • Loading branch information
thp committed Oct 28, 2013
2 parents 8a1af93 + b2656e0 commit 11f9ffb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion terminal.cpp
Expand Up @@ -350,7 +350,7 @@ void Terminal::insertInBuffer(const QString& chars)
insertAtCursor(ch, !iReplaceMode);
else if (ch.toLatin1()==ch_ESC)
escape=0;
else
else if (ch.toLatin1() != 0)
qDebug() << "unprintable char" << int(ch.toLatin1());
}
}
Expand Down

0 comments on commit 11f9ffb

Please sign in to comment.