all repos — openbox @ 0f7e3be6b60888912dc9c7089e23074ef64373e0

openbox fork - make it a bit more like ryudo

make an optional bool param for ustring's default constructor
Dana Jansens danakj@orodu.net
commit

0f7e3be6b60888912dc9c7089e23074ef64373e0

parent

a8e98570cc32fc4b9015927acef4a24c015f799e

2 files changed, 3 insertions(+), 2 deletions(-)

jump to
M otk/ustring.ccotk/ustring.cc

@@ -111,7 +111,8 @@

// ustring methods -ustring::ustring() +ustring::ustring(bool utf8) + : _utf8(utf8) { }
M otk/ustring.hhotk/ustring.hh

@@ -117,7 +117,7 @@ //typedef ustring_Iterator<std::string::const_iterator> const_iterator;

static const size_type npos = std::string::npos; - ustring(); + ustring(bool utf8 = true); ~ustring(); // make new strings