Mercurial > projects > ldc
changeset 303:4aa2b6753059 trunk
[svn r324] Small indentation fixes.
Added end of line to complex.cpp.
author | ChristianK |
---|---|
date | Wed, 25 Jun 2008 20:42:30 +0200 |
parents | bef811104734 |
children | 3ebc136702dd |
files | gen/asmstmt.cpp gen/complex.cpp |
diffstat | 2 files changed, 4 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/gen/asmstmt.cpp Wed Jun 25 20:39:09 2008 +0200 +++ b/gen/asmstmt.cpp Wed Jun 25 20:42:30 2008 +0200 @@ -466,7 +466,7 @@ 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 @@ 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);