]> git.lyx.org Git - features.git/blobdiff - src/insets/InsetTabular.cpp
Fix two thinkos caught by the cppcheck script.
[features.git] / src / insets / InsetTabular.cpp
index acf8acece197c34cff957a2fe75c98c3b3bba800..113715a60c433967e5b2e630f7b1c404376a1ca4 100644 (file)
@@ -876,7 +876,7 @@ void Tabular::insertColumn(col_type const col, bool copy)
                setBottomLine(i, bottomLine(j));
                setTopLine(i, topLine(j));
                setLeftLine(i, leftLine(j));
-               if (rightLine(j) && rightLine(j)) {
+               if (rightLine(i) && rightLine(j)) {
                        setRightLine(i, true);
                        setRightLine(j, false);
                }