fix error with compiling with gcc in Linux
This commit is contained in:
parent
b2b2bf2858
commit
c963bb2a3e
@ -569,7 +569,7 @@ namespace nana
|
||||
if (!is_utf8(text.c_str(), text.length()))
|
||||
{
|
||||
utf8_Error(std::string("The text is not encoded in UTF8: ") + text).emit();
|
||||
text.swap(recode_to_utf8(text));
|
||||
text=recode_to_utf8(text);
|
||||
return true; /// it needed change, it needed review !!
|
||||
}
|
||||
else
|
||||
|
Loading…
x
Reference in New Issue
Block a user