From a11ae22aa3b3f958f0a47cf3a67c9832fcd2a05b Mon Sep 17 00:00:00 2001 From: =?utf8?q?Uwe=20St=C3=B6hr?= Date: Sun, 9 Dec 2007 15:26:31 +0000 Subject: [PATCH] preamble.cpp: fix whitespace git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22040 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/tex2lyx/preamble.cpp | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/src/tex2lyx/preamble.cpp b/src/tex2lyx/preamble.cpp index 3ce6ec7b4f..4f33519c00 100644 --- a/src/tex2lyx/preamble.cpp +++ b/src/tex2lyx/preamble.cpp @@ -203,15 +203,15 @@ void add_package(string const & name, vector & options) // Given is a string like "scaled=0.9", return 0.9 * 100 string const scale_as_percentage(string const & scale) { - string::size_type pos = scale.find('='); - if (pos != string::npos) { - string value = scale.substr(pos + 1); - if (isStrDbl(value)) - return convert(100 * convert(value)); - } - // If the input string didn't match our expectations. - // return the default value "100" - return "100"; + string::size_type pos = scale.find('='); + if (pos != string::npos) { + string value = scale.substr(pos + 1); + if (isStrDbl(value)) + return convert(100 * convert(value)); + } + // If the input string didn't match our expectations. + // return the default value "100" + return "100"; } -- 2.39.2