Small bug fix in tstring.cpp
Merge pull request #170 from TsudaKageyu/master

Small bug fix in tstring.cpp