]> git.lyx.org Git - features.git/commitdiff
tex2lyx/text.cpp: fix 2 typos
authorUwe Stöhr <uwestoehr@web.de>
Wed, 26 Oct 2011 13:37:32 +0000 (13:37 +0000)
committerUwe Stöhr <uwestoehr@web.de>
Wed, 26 Oct 2011 13:37:32 +0000 (13:37 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40012 a592a061-630c-0410-9148-cb99ea01b6c8

src/tex2lyx/test/test-insets.tex
src/tex2lyx/text.cpp

index 0aa90c45e9832ce7a2a4465b11375a27d3518790..f6b09391ccca2b491f7dc5422a8465f8d575fa16 100644 (file)
@@ -323,9 +323,9 @@ test
 
 test\phantom{Wow}test
 
-test\phantom{\textcolor{green}{W}\textbf{ow}\textsuperscript{Wow}}test
+test\hphantom{\textcolor{green}{W}\textbf{ow}\textsuperscript{Wow}}test
 
-test\phantom{Wow\textbackslash{}\&\%}test
+test\vphantom{Wow\textbackslash{}\&\%}test
 
 $test\hphantom{Wow}test$
 
index db91970fb538c442d360b9994133ad6accdb067f..7ca373d9cd2d323e5a54ff68b1ac3a7f0c850eaf 100644 (file)
@@ -2471,9 +2471,9 @@ void parse_text(Parser & p, ostream & os, unsigned flags, bool outer,
                        if (t.cs() == "phantom")
                                begin_inset(os, "Phantom Phantom\n");
                        if (t.cs() == "hphantom")
-                               begin_inset(os, "Phantom Hhantom\n");
+                               begin_inset(os, "Phantom HPhantom\n");
                        if (t.cs() == "vphantom")
-                               begin_inset(os, "Phantom Vhantom\n");
+                               begin_inset(os, "Phantom VPhantom\n");
                        os << "status open\n";
                        parse_text_in_inset(p, os, FLAG_ITEM, outer, context);
                        end_inset(os);