diff options
author | rubidium <rubidium@openttd.org> | 2009-08-20 10:23:39 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2009-08-20 10:23:39 +0000 |
commit | 7fb95e2c2b2f84ecf9b5d5d2f02b147d1ad7cb3d (patch) | |
tree | feb24d4a4f522305f7df61aaf26c499eb38c6b6c /src/misc/blob.hpp | |
parent | 0188ebad5649d4c698245a2fef9039e6155b5f22 (diff) | |
download | openttd-7fb95e2c2b2f84ecf9b5d5d2f02b147d1ad7cb3d.tar.xz |
(svn r17228) -Codechange: some coding style fixes
Diffstat (limited to 'src/misc/blob.hpp')
-rw-r--r-- | src/misc/blob.hpp | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/misc/blob.hpp b/src/misc/blob.hpp index 5403adcce..9c68d9db9 100644 --- a/src/misc/blob.hpp +++ b/src/misc/blob.hpp @@ -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; + } } } |