From: Uwe Stöhr Date: Sun, 9 Dec 2007 15:26:31 +0000 (+0000) Subject: preamble.cpp: fix whitespace X-Git-Tag: 1.6.10~7001 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=a11ae22aa3b3f958f0a47cf3a67c9832fcd2a05b;p=lyx.git preamble.cpp: fix whitespace git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22040 a592a061-630c-0410-9148-cb99ea01b6c8 --- 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"; }