From 7250b0630cdd0ba5258745b1831420d393d2fd1f Mon Sep 17 00:00:00 2001 From: Christian Kamm Date: Wed, 25 Jun 2008 20:42:30 +0200 Subject: [PATCH] [svn r324] Small indentation fixes. Added end of line to complex.cpp. --- gen/asmstmt.cpp | 4 ++-- gen/complex.cpp | 3 ++- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/gen/asmstmt.cpp b/gen/asmstmt.cpp index d593486d..0d3c075b 100644 --- a/gen/asmstmt.cpp +++ b/gen/asmstmt.cpp @@ -466,7 +466,7 @@ static void remap_outargs(std::string& insnt, size_t nargs, size_t& idx) for (unsigned i = 0; i < nargs; i++) { needle = prefix + digits[i] + suffix; size_t pos = insnt.find(needle); - if(std::string::npos != pos) + if(std::string::npos != pos) sprintf(buf, "%u", idx++); while(std::string::npos != (pos = insnt.find(needle))) insnt.replace(pos, needle.size(), buf); @@ -491,7 +491,7 @@ static void remap_inargs(std::string& insnt, size_t nargs, size_t& idx) for (unsigned i = 0; i < nargs; i++) { needle = prefix + digits[i] + suffix; size_t pos = insnt.find(needle); - if(std::string::npos != pos) + if(std::string::npos != pos) sprintf(buf, "%u", idx++); while(std::string::npos != (pos = insnt.find(needle))) insnt.replace(pos, needle.size(), buf); diff --git a/gen/complex.cpp b/gen/complex.cpp index 137bf517..361c3b7e 100644 --- a/gen/complex.cpp +++ b/gen/complex.cpp @@ -360,4 +360,5 @@ DValue* DtoCastComplex(DValue* val, Type* _to) } else assert(0); -} \ No newline at end of file +} +