summaryrefslogtreecommitdiff
path: root/Source/Library/Common/SimpleList.class.h
diff options
context:
space:
mode:
Diffstat (limited to 'Source/Library/Common/SimpleList.class.h')
-rw-r--r--Source/Library/Common/SimpleList.class.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Library/Common/SimpleList.class.h b/Source/Library/Common/SimpleList.class.h
index 2bbbace..5806155 100644
--- a/Source/Library/Common/SimpleList.class.h
+++ b/Source/Library/Common/SimpleList.class.h
@@ -78,7 +78,7 @@ class SimpleList {
u32int size() {
if (m_next == 0)
- return 0;
+ return 1;
return m_next->size() + 1;
}
};