]> Dogcows Code - chaz/openbox/commitdiff
make an optional bool param for ustring's default constructor
authorDana Jansens <danakj@orodu.net>
Thu, 16 Jan 2003 05:20:33 +0000 (05:20 +0000)
committerDana Jansens <danakj@orodu.net>
Thu, 16 Jan 2003 05:20:33 +0000 (05:20 +0000)
otk/ustring.cc
otk/ustring.hh

index 8c48cb4d6e64e0fd7eca8dfe315d93fda51273d4..b6432d4440df46df21136d3826755f5b6b53dd24 100644 (file)
@@ -111,7 +111,8 @@ ustring::size_type utf8_byte_offset(const char* str, ustring::size_type offset,
 
 // ustring methods
 
-ustring::ustring()
+ustring::ustring(bool utf8)
+  : _utf8(utf8)
 {
 }
 
index bc00a31a810816d6dae17a3067199e44d638e90a..be2a59c8a790b7c2bdc3e61e5e4a13f2a0004d36 100644 (file)
@@ -117,7 +117,7 @@ public:
 
   static const size_type npos = std::string::npos;
 
-  ustring();
+  ustring(bool utf8 = true);
   ~ustring();
 
   // make new strings
This page took 0.022834 seconds and 4 git commands to generate.