Fix two thinkos caught by the cppcheck script.

This commit is contained in:
Richard Heck 2014-04-04 15:53:27 -04:00
parent 302228625b
commit 84d4d45daa
2 changed files with 2 additions and 2 deletions

View File

@ -876,7 +876,7 @@ void Tabular::insertColumn(col_type const col, bool copy)
setBottomLine(i, bottomLine(j)); setBottomLine(i, bottomLine(j));
setTopLine(i, topLine(j)); setTopLine(i, topLine(j));
setLeftLine(i, leftLine(j)); setLeftLine(i, leftLine(j));
if (rightLine(j) && rightLine(j)) { if (rightLine(i) && rightLine(j)) {
setRightLine(i, true); setRightLine(i, true);
setRightLine(j, false); setRightLine(j, false);
} }

View File

@ -346,7 +346,7 @@ void InsetMathPhantom::validate(LaTeXFeatures & features) const
bool InsetMathPhantom::visibleContents() const bool InsetMathPhantom::visibleContents() const
{ {
return kind_ == phantom || kind_ == vphantom || kind_ == vphantom; return kind_ == phantom || kind_ == vphantom || kind_ == hphantom;
} }