diff options
author | rubidium <rubidium@openttd.org> | 2007-07-25 00:16:30 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2007-07-25 00:16:30 +0000 |
commit | b29026864567b6a3842bd5b518ac989e5cd29d97 (patch) | |
tree | bc80f8b8cc5d138e78c7794df9fa66f425b589f3 /src/saveload.cpp | |
parent | e640900e8ac5e35dad2242bda391903a04906852 (diff) | |
download | openttd-b29026864567b6a3842bd5b518ac989e5cd29d97.tar.xz |
(svn r10684) -Codechange: some more coding style related changes. Primarily moving { to a new line.
Diffstat (limited to 'src/saveload.cpp')
-rw-r--r-- | src/saveload.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/saveload.cpp b/src/saveload.cpp index 01518f061..ffce4e69d 100644 --- a/src/saveload.cpp +++ b/src/saveload.cpp @@ -270,7 +270,8 @@ static void SlWriteSimpleGamma(uint i) } /** Return how many bytes used to encode a gamma value */ -static inline uint SlGetGammaLength(uint i) { +static inline uint SlGetGammaLength(uint i) +{ return 1 + (i >= (1 << 7)) + (i >= (1 << 14)) + (i >= (1 << 21)); } |