]> git.lyx.org Git - lyx.git/blobdiff - src/Trans.cpp
No need for an extra icon
[lyx.git] / 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;
        }
 }