diff --git a/ZString.cpp b/ZString.cpp index cd508e2..210556a 100644 --- a/ZString.cpp +++ b/ZString.cpp @@ -66,10 +66,10 @@ namespace coreutils { std::vector &ZString::split(ZString &delimiter, size_t maxSize) { list.clear(); if(length == 0) { - list.push_back(ZString((char *)"")); - return list; + list.push_back(ZString((char *)"")); + return list; } - + char *end = data + length; char *pos = cursor;