X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;ds=inline;f=bigscreen%2Fwidestring.cpp;h=52b7f559e48acf406ecb58e9bb008369b4ccd0a3;hb=da6c03044674863de9f8a017010aa579b3b27a12;hp=c31f4fcb29981442173179bee2c32de8d1f810f5;hpb=76f4b6a8faa67f10246f6fcaf963b3f78e4835fc;p=ccbs diff --git a/bigscreen/widestring.cpp b/bigscreen/widestring.cpp index c31f4fc..52b7f55 100644 --- a/bigscreen/widestring.cpp +++ b/bigscreen/widestring.cpp @@ -7,6 +7,11 @@ static iconv_t ucs4_iconv; static bool iconv_initialized = false; +widestring::widestring(const char *from) +{ + *this = from; +} + void widestring::operator= (const char *from) { if (!iconv_initialized) {