summaryrefslogtreecommitdiffhomepage
path: root/Kernel/Sources/Utils.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'Kernel/Sources/Utils.cxx')
-rw-r--r--Kernel/Sources/Utils.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Kernel/Sources/Utils.cxx b/Kernel/Sources/Utils.cxx
index 12e2e2a8..eeac3f93 100644
--- a/Kernel/Sources/Utils.cxx
+++ b/Kernel/Sources/Utils.cxx
@@ -37,7 +37,7 @@ namespace Kernel
{
if (len > _len)
{
- break;
+ return 0;
}
++len;