diff --git a/BeefLibs/corlib/src/String.bf b/BeefLibs/corlib/src/String.bf index eb75379d..b5e5d97e 100644 --- a/BeefLibs/corlib/src/String.bf +++ b/BeefLibs/corlib/src/String.bf @@ -427,7 +427,7 @@ namespace System curPtr += intSize; } - while (charsLeft > 1) + while (charsLeft >= 1) { hash = ((hash ^ (int)*curPtr) << 5) &- hash; charsLeft--;