diff --git a/src/Utf8String.cpp b/src/Utf8String.cpp index 782a976..2272ae2 100644 --- a/src/Utf8String.cpp +++ b/src/Utf8String.cpp @@ -57,7 +57,7 @@ Segments create_new_utf8_string (std::string stringToSegment) { //it is now ready to be added to the list of utf-8 characters if (characterSize <= 0) { segmentedLine.push_back(utf8Character); - segment.clear(); + utf8Character.clear(); } }