mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-23 02:14:50 +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 name_recoded;
|
||||||
docstring uncodable;
|
docstring uncodable;
|
||||||
for (char_type c : name_in) {
|
for (char_type c : name_in) {
|
||||||
if (!os.encoding())
|
if (!os.encoding()) {
|
||||||
break;
|
name_recoded += c;
|
||||||
|
continue;
|
||||||
|
}
|
||||||
if (os.encoding()->encodable(c))
|
if (os.encoding()->encodable(c))
|
||||||
name_recoded += c;
|
name_recoded += c;
|
||||||
else {
|
else {
|
||||||
|
Loading…
Reference in New Issue
Block a user