X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=otk%2Fustring.cc;h=7ac89bf72759ee351754ef88060bd96d51cbecdb;hb=0c05f5d9c76d4c765022eb72dc03de6671c20734;hp=b6432d4440df46df21136d3826755f5b6b53dd24;hpb=0f7e3be6b60888912dc9c7089e23074ef64373e0;p=chaz%2Fopenbox diff --git a/otk/ustring.cc b/otk/ustring.cc index b6432d44..7ac89bf7 100644 --- a/otk/ustring.cc +++ b/otk/ustring.cc @@ -132,13 +132,13 @@ ustring& ustring::operator=(const ustring& other) return *this; } -ustring::ustring(const std::string& src) - : _string(src), _utf8(true) +ustring::ustring(const std::string& src, bool utf8) + : _string(src), _utf8(utf8) { } -ustring::ustring(const char* src) - : _string(src), _utf8(true) +ustring::ustring(const char* src, bool utf8) + : _string(src), _utf8(utf8) { }