diff --git a/src/Mod/TechDraw/App/DrawUtil.cpp b/src/Mod/TechDraw/App/DrawUtil.cpp index 461dc86b6f..97aec75bd3 100644 --- a/src/Mod/TechDraw/App/DrawUtil.cpp +++ b/src/Mod/TechDraw/App/DrawUtil.cpp @@ -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')));