[svn r324] Small indentation fixes.

Added end of line to complex.cpp.
This commit is contained in:
Christian Kamm
2008-06-25 20:42:30 +02:00
parent 7b37093cff
commit 7250b0630c
2 changed files with 4 additions and 3 deletions

View File

@@ -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);

View File

@@ -360,4 +360,5 @@ DValue* DtoCastComplex(DValue* val, Type* _to)
}
else
assert(0);
}
}