summaryrefslogtreecommitdiffstats
path: root/khexedit/lib/codecs/kbinarybytecodec.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'khexedit/lib/codecs/kbinarybytecodec.cpp')
-rw-r--r--khexedit/lib/codecs/kbinarybytecodec.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/khexedit/lib/codecs/kbinarybytecodec.cpp b/khexedit/lib/codecs/kbinarybytecodec.cpp
index fc9fe8d..a49a460 100644
--- a/khexedit/lib/codecs/kbinarybytecodec.cpp
+++ b/khexedit/lib/codecs/kbinarybytecodec.cpp
@@ -24,7 +24,7 @@ using namespace KHE;
void KBinaryByteCodec::encode( TQString &Digits, unsigned int Pos, const unsigned char Char ) const
{
for( unsigned char M=1<<7; M>0; M>>=1 )
- Digits.tqat(Pos++) = (Char & M) ? '1' : '0';
+ Digits.at(Pos++) = (Char & M) ? '1' : '0';
}
void KBinaryByteCodec::encodeShort( TQString &Digits, unsigned int Pos, unsigned char Char ) const
@@ -36,7 +36,7 @@ void KBinaryByteCodec::encodeShort( TQString &Digits, unsigned int Pos, unsigned
break;
// now set the
for( ; M>0; M>>=1 )
- Digits.tqat(Pos++) = (Char & M) ? '1' : '0';
+ Digits.at(Pos++) = (Char & M) ? '1' : '0';
}