summaryrefslogtreecommitdiff
path: root/lout/object.cc
diff options
context:
space:
mode:
authorJohannes Hofmann <Johannes.Hofmann@gmx.de>2008-11-13 21:12:44 +0100
committerJohannes Hofmann <Johannes.Hofmann@gmx.de>2008-11-13 21:12:44 +0100
commitf0acc85e5c31a7df366c7dd9492438731a1d65ef (patch)
tree78010a14a23bd0c0a09609228e56260be370d990 /lout/object.cc
parentb45b1791eee02392840984d6836368c004fbfb5a (diff)
parent41fcd4d8148404ebcad1ed19f11858a4b502148e (diff)
merge with cvs
Diffstat (limited to 'lout/object.cc')
-rw-r--r--lout/object.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/lout/object.cc b/lout/object.cc
index 7da124fa..9e36e20c 100644
--- a/lout/object.cc
+++ b/lout/object.cc
@@ -251,7 +251,7 @@ bool PairBase::equals(Object *other)
return
// Identical?
- this == other ||
+ this == other || (
(// Both first parts are NULL, ...
(first == NULL && otherPair->first == NULL) ||
// ... or both first parts are not NULL and equal
@@ -260,7 +260,7 @@ bool PairBase::equals(Object *other)
// Same with second part.
((second == NULL && otherPair->second == NULL) ||
(second != NULL && otherPair->second != NULL
- && second->equals (otherPair->second)));
+ && second->equals (otherPair->second))));
}
int PairBase::hashValue()