diff --git a/src/insets/InsetTabular.cpp b/src/insets/InsetTabular.cpp index 7323560b55..ac63676369 100644 --- a/src/insets/InsetTabular.cpp +++ b/src/insets/InsetTabular.cpp @@ -3963,7 +3963,7 @@ bool InsetTabular::hitSelectColumn(BufferView const & bv, int y) const int const y0 = yo(bv) - tabular.rowAscent(0) + offset_valign_; // FIXME: using ADD_TO_TABULAR_WIDTH is not really correct since // there is no margin added vertically to tabular insets. - // Howerver, it works for now. + // However, it works for now. return y < y0 + ADD_TO_TABULAR_WIDTH || y > y0 + tabular.height() - ADD_TO_TABULAR_WIDTH; } diff --git a/src/insets/InsetTabular.h b/src/insets/InsetTabular.h index 5b5f836cbc..f63b84af42 100644 --- a/src/insets/InsetTabular.h +++ b/src/insets/InsetTabular.h @@ -1009,7 +1009,7 @@ private: bool hitSelectRow(BufferView const & bv, int x) const; /// bool hitSelectColumn(BufferView const & bv, int y) const; - /// Returns true if coordinates are on row/column selection zones + /// Returns true if coordinates are on row/column selection zones bool clickable(BufferView const &, int x, int y) const; ///