]> git.lyx.org Git - lyx.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 19:49:45 +0000 (20:49 +0100)
commit8b0280d216ea879b75b5152a68c8ce6f2115c15b
treeeb7a3614dd1ce5a8fa7ea2048930c98f98d55a17
parent71f534e0f7b7c193552877b684fac6d9d4bc4071
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().

(cherry picked from commit 144f06a00c58619557fb431877041fd9e4297a0f)
src/CutAndPaste.cpp