fix handling of uncleared after-string data from psobb
This commit is contained in:
+1
-3
@@ -423,9 +423,7 @@ struct ptext : parray<CharT, Count> {
|
|||||||
}
|
}
|
||||||
|
|
||||||
operator std::basic_string<CharT>() const {
|
operator std::basic_string<CharT>() const {
|
||||||
std::basic_string<CharT> ret(this->items, Count);
|
return std::basic_string<CharT>(this->items, this->len());
|
||||||
strip_trailing_zeroes(ret);
|
|
||||||
return ret;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
bool empty() const {
|
bool empty() const {
|
||||||
|
|||||||
Reference in New Issue
Block a user