summaryrefslogtreecommitdiffstats
path: root/src/selection-chemistry.cpp
diff options
context:
space:
mode:
authorJon A. Cruz <jon@joncruz.org>2013-04-29 00:51:29 +0000
committerJon A. Cruz <jon@joncruz.org>2013-04-29 00:51:29 +0000
commitc317c1f79519f0ee961842ffb9feac4494af5377 (patch)
tree28187bf8ccee447689430f1c0243700e0565e958 /src/selection-chemistry.cpp
parentTemporily fix abiguous macros before later removal. (diff)
downloadinkscape-c317c1f79519f0ee961842ffb9feac4494af5377.tar.gz
inkscape-c317c1f79519f0ee961842ffb9feac4494af5377.zip
Fixed logic error confusing bitwise and with logical and.
Whitespace cleanup to make the issue easier to spot. (bzr r12311)
Diffstat (limited to 'src/selection-chemistry.cpp')
-rw-r--r--src/selection-chemistry.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/selection-chemistry.cpp b/src/selection-chemistry.cpp
index beafc59a5..d94b085a0 100644
--- a/src/selection-chemistry.cpp
+++ b/src/selection-chemistry.cpp
@@ -3765,7 +3765,7 @@ void sp_selection_unset_mask(SPDesktop *desktop, bool apply_clip_path) {
}
// collect distinct mask object (and associate with item to apply transform)
- if (NULL != uri_ref && NULL != uri_ref->getObject()) {
+ if ((NULL != uri_ref) && (NULL != uri_ref->getObject())) {
referenced_objects[uri_ref->getObject()] = item;
}
}