(svn r17228) -Codechange: some coding style fixes

This commit is contained in:
rubidium
2009-08-20 10:23:39 +00:00
parent 0188ebad56
commit 7fb95e2c2b
13 changed files with 47 additions and 34 deletions

View File

@@ -240,8 +240,11 @@ public:
{
if (MaxRawSize() > 0 && num_bytes > 0) {
assert(num_bytes <= RawSize());
if (num_bytes < RawSize()) RawSizeRef() -= num_bytes;
else RawSizeRef() = 0;
if (num_bytes < RawSize()) {
RawSizeRef() -= num_bytes;
} else {
RawSizeRef() = 0;
}
}
}