]> git.lyx.org Git - features.git/commitdiff
Fix bug #10930.
authorRichard Heck <rgheck@lyx.org>
Sat, 24 Feb 2018 05:28:37 +0000 (00:28 -0500)
committerRichard Heck <rgheck@lyx.org>
Sat, 24 Feb 2018 05:28:37 +0000 (00:28 -0500)
src/Trans.cpp

index e2ba1abb5800c1a8ddb8e71f431f400a716dc964..8a74b9ab4c016f949bf598acb523743bd9e0089d 100644 (file)
@@ -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;
        }
 }