commit 6d565300be2068993a0b1180bf3523c66fae1d6b Author: Richard Heck <rgh...@lyx.org> Date: Sat Feb 24 00:28:37 2018 -0500
Fix bug #10930. --- src/Trans.cpp | 8 ++++---- 1 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/Trans.cpp b/src/Trans.cpp index e2ba1ab..8a74b9a 100644 --- a/src/Trans.cpp +++ b/src/Trans.cpp @@ -190,10 +190,10 @@ void Trans::addDeadkey(tex_accent accent, docstring const & keys) // FIXME This is a hack. // tmp is no valid UCS4 string, but misused to store the // accent. - docstring tmp; - tmp += char_type(0); - tmp += char_type(accent); - keymap_[keys[i]] = tmp; + docstring tmpd; + tmpd += char_type(0); + tmpd += char_type(accent); + keymap_[keys[i]] = tmpd; } }