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; } }