]> git.lyx.org Git - features.git/commit
Correctly output a single char_type
authorEnrico Forestieri <forenr@lyx.org>
Thu, 25 Jan 2018 08:40:36 +0000 (09:40 +0100)
committerEnrico Forestieri <forenr@lyx.org>
Thu, 25 Jan 2018 08:40:36 +0000 (09:40 +0100)
commit144f06a00c58619557fb431877041fd9e4297a0f
tree554eb583608b7bb527782684ce75c36ae20ceeab
parent9b262fcff45920f07e6cd37846e31cbc31ab56b3
Correctly output a single char_type

On platforms where char_type is typedef'd to an integral type
rather than to wchar_t, when using the insertion operator <<
a single char_type is output as the number corresponding to the
code point of the character rather than as the character itself.
In this case, one has to use put().
src/CutAndPaste.cpp