mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-22 18:08:10 +00:00
Amend 14b108fc22
This commit is contained in:
parent
f5ad874781
commit
263e1045e2
@ -1081,8 +1081,10 @@ void InsetMathMacro::write(WriteStream & os) const
|
||||
docstring name_recoded;
|
||||
docstring uncodable;
|
||||
for (char_type c : name_in) {
|
||||
if (!os.encoding())
|
||||
break;
|
||||
if (!os.encoding()) {
|
||||
name_recoded += c;
|
||||
continue;
|
||||
}
|
||||
if (os.encoding()->encodable(c))
|
||||
name_recoded += c;
|
||||
else {
|
||||
|
Loading…
Reference in New Issue
Block a user