diff options
Diffstat (limited to 'src/sp-root.h')
| -rw-r--r-- | src/sp-root.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sp-root.h b/src/sp-root.h index d9c96da50..6853a8c8a 100644 --- a/src/sp-root.h +++ b/src/sp-root.h @@ -20,7 +20,7 @@ #include "sp-item-group.h" #define SP_ROOT(obj) ((SPRoot*)obj) -#define SP_IS_ROOT(obj) (dynamic_cast<const SPRoot*>((SPObject*)obj)) +#define SP_IS_ROOT(obj) (dynamic_cast<const SPRoot*>((SPObject*)obj) != NULL) class SPDefs; |
