diff options
Diffstat (limited to 'src/piklab-hex/main.cpp')
-rw-r--r-- | src/piklab-hex/main.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/piklab-hex/main.cpp b/src/piklab-hex/main.cpp index 7c5ee75..0d9a7cc 100644 --- a/src/piklab-hex/main.cpp +++ b/src/piklab-hex/main.cpp @@ -159,11 +159,11 @@ CLI::ExitCode CLI::Main::executeCommand(const TQString &command) bool firstInSecond = true, secondInFirst = true; HexBuffer::const_iterator it; for (it=_source1.begin(); it!=_source1.end(); ++it) { - if ( it.data().tqmaskWith(0xFFFF)==_source2[it.key()].tqmaskWith(0xFFFF) ) continue; + if ( it.data().maskWith(0xFFFF)==_source2[it.key()].maskWith(0xFFFF) ) continue; firstInSecond = false; } for (it=_source2.begin(); it!=_source2.end(); ++it) { - if ( it.data().tqmaskWith(0xFFFF)==_source1[it.key()].tqmaskWith(0xFFFF) ) continue; + if ( it.data().maskWith(0xFFFF)==_source1[it.key()].maskWith(0xFFFF) ) continue; secondInFirst = false; } if ( firstInSecond && secondInFirst ) return okExit(i18n("The two hex files have the same content.")); |