MSVC syntax fix

This commit is contained in:
WandererFan
2016-11-01 20:00:55 -04:00
parent 54bd97c4f4
commit 0efa65a8b9

View File

@@ -236,7 +236,7 @@ QString DrawUtil::qbaToDebug(const QByteArray & line)
for ( int i=0 ; i < line.size() ; i++ ){
c = line[i];
if ( c >= 0x20 and c <= 126 ) {
if (( c >= 0x20) && (c <= 126) ) {
s.append(QChar::fromLatin1(c));
} else {
s.append(QString::fromUtf8("<%1>").arg(c, 2, 16, QChar::fromLatin1('0')));