From 85afa86da3c7f96b8f59dc44a9719088f313457a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Marjam=E4ki?= Date: Fri, 14 May 2010 18:40:37 +0200 Subject: [PATCH] astyle formatting --- lib/mathlib.cpp | 2 +- test/testsuite.cpp | 5 +++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/lib/mathlib.cpp b/lib/mathlib.cpp index e4e1687b3..fe1c16b00 100644 --- a/lib/mathlib.cpp +++ b/lib/mathlib.cpp @@ -193,7 +193,7 @@ bool MathLib::isInt(const std::string & s) }; // unsigned or long while (std::tolower(s[n]) == 'u' || std::tolower(s[n]) == 'l') ++n; - + if(bStartsWithDigit==false) return false; } diff --git a/test/testsuite.cpp b/test/testsuite.cpp index edf8ba2e9..7307073d4 100644 --- a/test/testsuite.cpp +++ b/test/testsuite.cpp @@ -125,8 +125,9 @@ void TestFixture::assertEquals(const char *filename, int linenr, const std::stri << writestr(expected) << std::endl << "Actual:" << std::endl << writestr(actual) << std::endl; - if (!msg.empty()) { - errmsg << msg << std::endl; + if (!msg.empty()) + { + errmsg << msg << std::endl; } } }