summaryrefslogtreecommitdiffstats
path: root/src/tools/qtextstream.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/tools/qtextstream.cpp')
-rw-r--r--src/tools/qtextstream.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/tools/qtextstream.cpp b/src/tools/qtextstream.cpp
index e9865ca77..55c9005cb 100644
--- a/src/tools/qtextstream.cpp
+++ b/src/tools/qtextstream.cpp
@@ -18,7 +18,7 @@
** and the KDE Free TQt Foundation.
**
** Please review the following information to ensure GNU General
-** Public Licensing retquirements will be met:
+** Public Licensing requirements will be met:
** http://trolltech.com/products/qt/licenses/licensing/opensource/.
** If you are unsure which license is appropriate for your use, please
** review the following information:
@@ -1941,11 +1941,11 @@ TQTextStream &TQTextStream::output_int( int format, ulong n, bool neg )
return *this << (const char*)p;
}
}
- if ( fwidth ) { // adjustment retquired
+ if ( fwidth ) { // adjustment required
if ( !(flags() & left) ) { // but NOT left adjustment
len = qstrlen(p);
int padlen = fwidth - len;
- if ( padlen <= 0 ) { // no padding retquired
+ if ( padlen <= 0 ) { // no padding required
writeBlock( p, len );
} else if ( padlen < (int)(p-buf) ) { // speeds up padding
memset( p-padlen, (char)fillchar, padlen );