summaryrefslogtreecommitdiff
path: root/src/saveload.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/saveload.cpp')
-rw-r--r--src/saveload.cpp3
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));
}