]> git.lyx.org Git - lyx.git/blobdiff - src/tex2lyx/table.cpp
Merge remote-tracking branch 'origin/master' into features/latexargs
[lyx.git] / src / tex2lyx / table.cpp
index a0de11126366623f118b83193d653a76fee68d5e..79781c74951dd5ef46d426a2fd87982082f12e64 100644 (file)
@@ -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 '"