summaryrefslogtreecommitdiff
path: root/include/basebmp
diff options
context:
space:
mode:
authorJulien Nabet <serval2412@yahoo.fr>2015-06-23 20:42:27 +0200
committerJulien Nabet <serval2412@yahoo.fr>2015-06-23 20:42:27 +0200
commit2a65bf32ec270484dcea4d22d3c93552dc0c24dd (patch)
tree93ef95ef9bda80b60e7eadaea88db64d7ab9d160 /include/basebmp
parent09b4cbe977c755a447f97034189b85998f358d79 (diff)
Revert "Typo: iff->if"
This reverts commit cf92da3d6e1de14756efe3f1ee79f393a2f3787d. iff can mean "if and only if" so not a typo
Diffstat (limited to 'include/basebmp')
-rw-r--r--include/basebmp/accessorfunctors.hxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/basebmp/accessorfunctors.hxx b/include/basebmp/accessorfunctors.hxx
index 44ceceeffc71..02e3abaded95 100644
--- a/include/basebmp/accessorfunctors.hxx
+++ b/include/basebmp/accessorfunctors.hxx
@@ -80,7 +80,7 @@ template< typename T,
{
typedef typename make_unsigned<T>::type unsigned_T;
- // mask will be 0, if m == 0, and 1 otherwise
+ // mask will be 0, iff m == 0, and 1 otherwise
const T mask( unsigned_cast<T>(m | -m) >> (sizeof(unsigned_T)*8 - 1) );
return v1*static_cast<M>(1-mask) + v2*mask;
}
@@ -96,7 +96,7 @@ template< typename T,
{
typedef typename make_unsigned<T>::type unsigned_T;
- // mask will be 0, if m == 0, and 1 otherwise
+ // mask will be 0, iff m == 0, and 1 otherwise
const T mask( unsigned_cast<T>(m | -m) >> (sizeof(unsigned_T)*8 - 1) );
return v1*mask + v2*static_cast<M>(1-mask);
}