mirror of
https://git.lyx.org/repos/lyx.git
synced 2025-01-23 00:38:01 +00:00
Fix XHTML output on systems where char_type is not typedef'd to wchar_t.
See docstream.h for the explanation. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33027 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
578c0414d3
commit
19c935ca37
@ -182,7 +182,7 @@ void InsetMathChar::mathmlize(MathStream & ms) const
|
||||
|
||||
if (ms.inText()) {
|
||||
if (entity.empty())
|
||||
ms << char_type(char_);
|
||||
ms.os().put(char_);
|
||||
else
|
||||
ms << from_ascii(entity);
|
||||
return;
|
||||
|
@ -306,7 +306,7 @@ MathStream & operator<<(MathStream & ms, char c)
|
||||
|
||||
MathStream & operator<<(MathStream & ms, char_type c)
|
||||
{
|
||||
ms.os() << c;
|
||||
ms.os().put(c);
|
||||
return ms;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user