]> Dogcows Code - chaz/openbox/blobdiff - otk/ustring.cc
allow for ignoring x errors.
[chaz/openbox] / otk / ustring.cc
index b6432d4440df46df21136d3826755f5b6b53dd24..7ac89bf72759ee351754ef88060bd96d51cbecdb 100644 (file)
@@ -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)
 {
 }
 
This page took 0.023418 seconds and 4 git commands to generate.