From a27634ab66d1b009b99bcfe0905500d9e7776e6a Mon Sep 17 00:00:00 2001 From: Steven Date: Thu, 23 Feb 2017 11:33:01 -0500 Subject: [PATCH 1/2] Corrected spelling of Destination --- common/mac.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/mac.cpp b/common/mac.cpp index 3a7df21..c1daf43 100644 --- a/common/mac.cpp +++ b/common/mac.cpp @@ -143,7 +143,7 @@ QVariant MacProtocol::fieldData(int index, FieldAttrib attrib, switch(attrib) { case FieldName: - return QString("Desination"); + return QString("Destination"); case FieldValue: return dstMac; case FieldTextValue: From 6e0676881a06d5c1d9e6accea6c54eca192fe660 Mon Sep 17 00:00:00 2001 From: Steven Date: Thu, 23 Feb 2017 11:41:59 -0500 Subject: [PATCH 2/2] 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. --- client/dumpview.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/dumpview.h b/client/dumpview.h index b170cd0..c99e34a 100644 --- a/client/dumpview.h +++ b/client/dumpview.h @@ -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;