From dda1bfc94961ea493ea483512969af7bf20f0d77 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Uwe=20St=C3=B6hr?= Date: Thu, 21 Jun 2012 13:14:16 +0200 Subject: [PATCH] tex2lyx/table.cpp: please Vincent as discussed --- src/tex2lyx/table.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tex2lyx/table.cpp b/src/tex2lyx/table.cpp index a0de111263..79781c7495 100644 --- a/src/tex2lyx/table.cpp +++ b/src/tex2lyx/table.cpp @@ -1164,7 +1164,7 @@ void handle_tabular(Parser & p, ostream & os, string const & name, cellinfo[row][col].content += os.str(); // add dummy cells for multicol - for (size_t i = 0; i + 1 < ncells; ++i) { + for (size_t i = 0; i < ncells - 1; ++i) { ++col; if (col >= colinfo.size()) { cerr << "The cell '"