summaryrefslogtreecommitdiffstats
path: root/src/sp-textpath.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/sp-textpath.h')
-rw-r--r--src/sp-textpath.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sp-textpath.h b/src/sp-textpath.h
index 94672b36d..1191a59f6 100644
--- a/src/sp-textpath.h
+++ b/src/sp-textpath.h
@@ -10,7 +10,7 @@ class Path;
#define SP_TEXTPATH(obj) ((SPTextPath*)obj)
-#define SP_IS_TEXTPATH(obj) (dynamic_cast<const SPTextPath*>((SPObject*)obj))
+#define SP_IS_TEXTPATH(obj) (dynamic_cast<const SPTextPath*>((SPObject*)obj) != NULL)
class SPTextPath : public SPItem {
public: