diff --git a/Common/helper_string.h b/Common/helper_string.h index 59cf5f79..080f6f7c 100644 --- a/Common/helper_string.h +++ b/Common/helper_string.h @@ -100,7 +100,7 @@ inline int stringRemoveDelimiter(char delimiter, const char *string) { string_start++; } - if (string_start >= static_cast(strlen(string) - 1)) { + if (string_start >= static_cast(strlen(string))) { return 0; }