]> git.lyx.org Git - features.git/commitdiff
tex2lyx/Preamble.cpp: fix a typo
authorUwe Stöhr <uwestoehr@lyx.org>
Sun, 24 Jun 2012 13:37:51 +0000 (15:37 +0200)
committerUwe Stöhr <uwestoehr@lyx.org>
Sun, 24 Jun 2012 13:37:51 +0000 (15:37 +0200)
src/tex2lyx/Preamble.cpp

index 03fbd92e3507f278fec3bd95ea769772add709f5..5504c535af32215139023e7f9624ca8bac3a9c6f 100644 (file)
@@ -1023,7 +1023,7 @@ bool Preamble::writeLyXHeader(ostream & os, bool subdoc)
        if (!h_boxbgcolor.empty())
                os << "\\boxbgcolor " << h_boxbgcolor << '\n';
        os << "\\index " << h_index << '\n'
-          << "\\boxbgcolor " << h_boxbgcolor << '\n'
+          << "\\shortcut " << h_shortcut << '\n'
           << "\\color " << h_color << '\n'
           << "\\end_index\n";
        os << h_margins