From 945c0e4127e0393ee50907e9aa7f04a2c972a5fc Mon Sep 17 00:00:00 2001 From: Richard Heck Date: Mon, 10 Dec 2012 11:09:50 -0500 Subject: [PATCH] Fix lyx2lyx bug: We need to check for quoted names before we check for unquoted ones. Otherwise, a quoted name with no spaces gets treated as if it were an unquoted name. --- lib/scripts/layout2layout.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/scripts/layout2layout.py b/lib/scripts/layout2layout.py index 6f001b37d0..1c6f1ada09 100644 --- a/lib/scripts/layout2layout.py +++ b/lib/scripts/layout2layout.py @@ -444,9 +444,9 @@ def convert(lines): continue if format == 34: - match = re_InsetLayout2.match(lines[i]) + match = re_QInsetLayout2.match(lines[i]) if not match: - match = re_QInsetLayout2.match(lines[i]) + match = re_InsetLayout2.match(lines[i]) if not match: match = re_CopyStyle2.match(lines[i]) if not match: