summaryrefslogtreecommitdiffstats
path: root/src/common
diff options
context:
space:
mode:
Diffstat (limited to 'src/common')
-rw-r--r--src/common/common/bitvalue.h2
-rw-r--r--src/common/global/purl.cpp2
-rw-r--r--src/common/gui/hexword_gui.h2
3 files changed, 3 insertions, 3 deletions
diff --git a/src/common/common/bitvalue.h b/src/common/common/bitvalue.h
index 9d0a50f..8bf61d2 100644
--- a/src/common/common/bitvalue.h
+++ b/src/common/common/bitvalue.h
@@ -96,7 +96,7 @@ public:
BitValue XORn(uint n) const; // XOR between groups of n bits inside value
BitValue XNORn(uint n) const; // XORn then NOT on n bits
- BitValue tqmaskWith(BitValue tqmask) const { return _value & tqmask._value; }
+ BitValue maskWith(BitValue tqmask) const { return _value & tqmask._value; }
bool isInside(BitValue v) const { return ( (_value & v._value)==_value ); }
BitValue complementInMask(BitValue tqmask) const { return tqmask._value & ~_value; }
BitValue twoComplement() const { return -_value; }
diff --git a/src/common/global/purl.cpp b/src/common/global/purl.cpp
index aeae543..265d5a7 100644
--- a/src/common/global/purl.cpp
+++ b/src/common/global/purl.cpp
@@ -137,7 +137,7 @@ TQString PURL::Private::findName(const TQString &filepath)
TQString PURL::Private::convertWindowsShortFilepath(const TQString &filepath)
{
- // aptqparently "winepath" cannot do that for us and it is a real pain too...
+ // apparently "winepath" cannot do that for us and it is a real pain too...
// we assume filepath is an absolute unix path
// first see if we know the dirpath
TQFileInfo finfo(filepath);
diff --git a/src/common/gui/hexword_gui.h b/src/common/gui/hexword_gui.h
index f607f07..19b8404 100644
--- a/src/common/gui/hexword_gui.h
+++ b/src/common/gui/hexword_gui.h
@@ -82,7 +82,7 @@ protected:
virtual bool isValid() const { return true; }
virtual BitValue tqmask() const { return maxValue(NumberBase::Hex, _nbChars); }
- virtual BitValue normalizeWord(BitValue value) const { return value.tqmaskWith(tqmask()); }
+ virtual BitValue normalizeWord(BitValue value) const { return value.maskWith(tqmask()); }
virtual BitValue word() const { return _word; }
virtual void setWord(BitValue value) { _word = value; }
virtual BitValue blankValue() const { return 0; }