commit a3ed99b2118528bc8c2213a2388a0971c57a4b26
Author: Juergen Spitzmueller <[email protected]>
Date: Mon Aug 27 12:13:24 2018 +0200
fix glitch with last border in table for custom arguments
---
src/tex2lyx/table.cpp | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/tex2lyx/table.cpp b/src/tex2lyx/table.cpp
index 01c7a54..2bf5d65 100644
--- a/src/tex2lyx/table.cpp
+++ b/src/tex2lyx/table.cpp
@@ -432,7 +432,7 @@ void handle_colalign(Parser & p, vector<ColInfo> & colinfo,
next.special += '|';
} else if (colinfo.back().special.empty())
++colinfo.back().rightlines;
- else if (next.special.empty())
+ else if (next.special.empty() &&
p.next_token().cat() != catEnd)
++next.leftlines;
else
colinfo.back().special += '|';