Small bug fix in tstring.cpp