Small bug fix in tstring.cpp

This commit is contained in:
Tsuda Kageyu 2013-04-26 17:32:39 +09:00
parent a9cdbb7e75
commit 6e35e56d7f

View File

@ -709,7 +709,7 @@ String &String::operator=(wchar_t c)
if(d->deref())
delete d;
d = new StringPrivate(1, static_cast<uchar>(c));
d = new StringPrivate(1, c);
return *this;
}