]> git.lyx.org Git - features.git/commitdiff
tex2lyx/text.cpp: set correct default horizontal position for \framebox
authorUwe Stöhr <uwestoehr@lyx.org>
Sun, 17 May 2015 19:59:29 +0000 (21:59 +0200)
committerUwe Stöhr <uwestoehr@lyx.org>
Sun, 17 May 2015 19:59:29 +0000 (21:59 +0200)
src/tex2lyx/text.cpp

index 2b05fb736c908da6dfa48fcf849c0f532e5ec32a..2ed73959bd6402d2ab3e5fa73f3b497115aa4caa 100644 (file)
@@ -950,6 +950,9 @@ void parse_box(Parser & p, ostream & os, unsigned outer_flags,
                                             << " for " << outer_type << endl;
                                        hor_pos = "c";
                                }
+                       } else {
+                               if (outer_type == "framebox")
+                                       hor_pos = "c";
                        }
                }
        } else if (inner_type != "makebox")