From 82b9adcea2e82413e872df7cbedbe04f4824898c Mon Sep 17 00:00:00 2001 From: Richard Heck Date: Wed, 2 Feb 2011 23:00:57 +0000 Subject: [PATCH] We never use numbers here, but others might. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37437 a592a061-630c-0410-9148-cb99ea01b6c8 --- lib/scripts/layout2layout.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/scripts/layout2layout.py b/lib/scripts/layout2layout.py index a309049033..647a7fb47a 100644 --- a/lib/scripts/layout2layout.py +++ b/lib/scripts/layout2layout.py @@ -306,7 +306,7 @@ def convert(lines): val = match.group(2) lines[i] = space + "UsesFloatPkg " + val newval = 'true' - if val.lower() == 'true': + if val == '1' or val.lower() == 'true': newval = 'false' lines.insert(i, space + "IsPredefined " + newval) i += 1 -- 2.39.2