aboutsummaryrefslogtreecommitdiff
path: root/src/reflist.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/reflist.c')
-rw-r--r--src/reflist.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/reflist.c b/src/reflist.c
index 36753bd5..e420b736 100644
--- a/src/reflist.c
+++ b/src/reflist.c
@@ -775,7 +775,7 @@ static int recursive_count(Reflection *refl)
{
int count_left, count_right;
- if ( refl == NULL ) return 1;
+ if ( refl == NULL ) return 0;
count_left = recursive_count(refl->child[0]);
count_right = recursive_count(refl->child[1]);