From 7fe3635cdbdda719d25cfc56f74e8916fd0ba1da Mon Sep 17 00:00:00 2001 From: rubidium Date: Wed, 25 Jul 2007 00:16:30 +0000 Subject: (svn r10684) -Codechange: some more coding style related changes. Primarily moving { to a new line. --- src/saveload.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/saveload.cpp') 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)); } -- cgit v1.2.3-54-g00ecf