From 133d84c42b2b2a88b1236987a0c90c2131340d8a Mon Sep 17 00:00:00 2001 From: Edwin Leuven Date: Fri, 25 Apr 2008 11:56:21 +0000 Subject: [PATCH] fix http://bugzilla.lyx.org/show_bug.cgi?id=4792 git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24500 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/insets/InsetTabular.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/insets/InsetTabular.cpp b/src/insets/InsetTabular.cpp index 1addaa10ad..29117e8e87 100644 --- a/src/insets/InsetTabular.cpp +++ b/src/insets/InsetTabular.cpp @@ -1086,7 +1086,7 @@ bool Tabular::columnLeftLine(col_type c) const idx_type i = cellIndex(r, c); if (c == cellColumn(i)) { ++total; - bool right = c - 1 > 0 && cellInfo(cellIndex(r, c - 1)).right_line; + bool right = c > 0 && cellInfo(cellIndex(r, c - 1)).right_line; if (cellInfo(i).left_line || right) ++nrows_left; } -- 2.39.2