From: Richard Heck Date: Wed, 2 Feb 2011 23:00:57 +0000 (+0000) Subject: We never use numbers here, but others might. X-Git-Tag: 2.0.0~917 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=82b9adcea2e82413e872df7cbedbe04f4824898c;p=features.git 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 --- 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