Removed null termination from return value of String::data()

This commit is contained in:
Tsuda Kageyu 2013-03-18 13:55:49 +09:00
parent c86ea7bdff
commit 4e05923479

View File

@ -436,7 +436,7 @@ ByteVector String::data(Type t) const
#endif
v.resize(::strlen(v.data()) + 1);
v.resize(::strlen(v.data()));
break;
}