Changed range of printable characters

Made matches inclusive and increased range to match more printable characters. This better matches the Hex Dump payload view, which displays all 0x20 to 0x7D.
This commit is contained in:
Steven 2017-02-23 11:41:59 -05:00 committed by GitHub
parent a27634ab66
commit 6e0676881a

View File

@ -48,7 +48,7 @@ private:
void populateDump(QByteArray &dump, int &selOfs, int &selSize,
QModelIndex parent = QModelIndex());
bool inline isPrintable(char c)
{if ((c > 48) && (c < 126)) return true; else return false; }
{if ((c >= 32) && (c <= 126)) return true; else return false; }
private:
QRect mOffsetPaneTopRect;