summaryrefslogtreecommitdiffstats
path: root/src/gui/embedded/qwscommand_qws.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/embedded/qwscommand_qws.cpp')
-rw-r--r--src/gui/embedded/qwscommand_qws.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/gui/embedded/qwscommand_qws.cpp b/src/gui/embedded/qwscommand_qws.cpp
index b0fd78b..26d3435 100644
--- a/src/gui/embedded/qwscommand_qws.cpp
+++ b/src/gui/embedded/qwscommand_qws.cpp
@@ -133,7 +133,7 @@ void QWSHexDump::init()
void QWSHexDump::hexDump()
{
- *outstrm << "(" << dataSize << " bytes):\n" << prefix;
+ *outstrm << '(' << dataSize << " bytes):\n" << prefix;
sprintf(sideviewLayout, " [%%-%us]", wrap);
dataWidth = (2 * wrap) + (wrap / clustering);
@@ -144,7 +144,7 @@ void QWSHexDump::hexDump()
sideview[wrapIndex = i%wrap] = isprint(c) ? c : '.';
if (wrapIndex && (wrapIndex % clustering == 0))
- *outstrm << " ";
+ *outstrm << ' ';
outstrm->setFieldWidth(2);
outstrm->setPadChar('0');
@@ -172,14 +172,14 @@ void QWSHexDump::sideviewDump(int at)
int currentWidth = (2 * at) + (at / clustering) - (at%clustering?0:1);
int missing = qMax(dataWidth - currentWidth, 0);
while (missing--)
- *outstrm << " ";
+ *outstrm << ' ';
*outstrm << " [";
outstrm->setPadChar(' ');
outstrm->setFieldWidth(wrap);
outstrm->setFieldAlignment( QTextStream::AlignLeft );
*outstrm << sideview;
- *outstrm << "]";
+ *outstrm << ']';
}
}
owto.Georg Brandl2008-12-051-7/+8 * Finished the "porting to 3.0" section. Had to add a label toGuido van Rossum2008-12-021-0/+2 * Another checkpoint. More XXXes added...Guido van Rossum2008-12-021-0/+2 * #4153: finish updating Unicode HOWTO for Py3k changes.Georg Brandl2008-11-221-68/+60 * #4378: fix a few functional HOWTO 2.xisms.Georg Brandl2008-11-221-156/+153 * Merged revisions 66670,66681,66688,66696-66699 via svnmerge fromBenjamin Peterson2008-10-041-11/+12 * #4000: fix several 2.x atavisms.Georg Brandl2008-10-04