From d88f7727e9941089b4e2a218ece84d1f3150e487 Mon Sep 17 00:00:00 2001 From: Georg Baum Date: Sun, 25 Mar 2012 18:46:00 +0200 Subject: [PATCH] Fix tex2lyx table output. It is broken since the latest file format update (neither did Uwe run a test after updating the file format, nor did I after undoing my accidental change). The reason it was broken: the bool version of write_attribute() is chosen for "0" instead of the string version, so each table used rotate="true". --- src/tex2lyx/table.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/tex2lyx/table.cpp b/src/tex2lyx/table.cpp index ca3a84cdae..bed513c08b 100644 --- a/src/tex2lyx/table.cpp +++ b/src/tex2lyx/table.cpp @@ -1269,10 +1269,11 @@ void handle_tabular(Parser & p, ostream & os, string const & name, //cerr << "// output what we have\n"; // output what we have + string const rotate = "0"; os << "\n\n"; os << "