summaryrefslogtreecommitdiffstats
path: root/src/display
diff options
context:
space:
mode:
authorKris De Gussem <kris.degussem@gmail.com>2012-05-12 11:16:29 +0000
committerKris <Kris.De.Gussem@hotmail.com>2012-05-12 11:16:29 +0000
commitadc17549c5f0485a30a87e7674c7779ef3155d6c (patch)
tree5d7600ee04a17673e9af977637c4cd89fe5e4938 /src/display
parentFix for externally reported patch by Juergen Weigert, Bug #993500 (inkscape s... (diff)
downloadinkscape-adc17549c5f0485a30a87e7674c7779ef3155d6c.tar.gz
inkscape-adc17549c5f0485a30a87e7674c7779ef3155d6c.zip
syntx of null pointer dereference checks
(bzr r11358)
Diffstat (limited to 'src/display')
-rw-r--r--src/display/nr-filter-image.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/display/nr-filter-image.cpp b/src/display/nr-filter-image.cpp
index 5294a5ee0..16f126b9f 100644
--- a/src/display/nr-filter-image.cpp
+++ b/src/display/nr-filter-image.cpp
@@ -118,7 +118,7 @@ void FilterImage::render_cairo(FilterSlot &slot)
/* TODO: If feImageHref is absolute, then use that (preferably handling the
* case that it's not a file URI). Otherwise, go up the tree looking
* for an xml:base attribute, and use that as the base URI for resolving
- * the relative feImageHref URI. Otherwise, if document && document->base,
+ * the relative feImageHref URI. Otherwise, if document->base is valid,
* then use that as the base URI. Otherwise, use feImageHref directly
* (i.e. interpreting it as relative to our current working directory).
* (See http://www.w3.org/TR/xmlbase/#resolution .) */