Panagiotis Christopoulos Charitos 11 years ago
parent
commit
5750fe46b8
1 changed files with 1 additions and 1 deletions
  1. 1 1
      include/anki/util/StringList.inl.h

+ 1 - 1
include/anki/util/StringList.inl.h

@@ -46,7 +46,7 @@ Error StringListBase<TAlloc>::join(
 	ANKI_ASSERT(charCount > 0);
 
 	// Allocate
-	Error err = out.create(alloc, '?', charCount + 1);
+	Error err = out.create(alloc, '?', charCount);
 	if(err)
 	{
 		return err;