From 6d565300be2068993a0b1180bf3523c66fae1d6b Mon Sep 17 00:00:00 2001 From: Richard Heck Date: Sat, 24 Feb 2018 00:28:37 -0500 Subject: [PATCH] Fix bug #10930. --- src/Trans.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/Trans.cpp b/src/Trans.cpp index e2ba1abb58..8a74b9ab4c 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; } } -- 2.39.2