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