From ca1f8fbe2ed1a9ba1b963d2d09eef074cc54c498 Mon Sep 17 00:00:00 2001 From: rubidium Date: Fri, 18 Apr 2008 04:37:06 +0000 Subject: (svn r12761) -Codechange: lots of minor whitespace coding style fixes around operators. --- src/saveload.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/saveload.cpp') diff --git a/src/saveload.cpp b/src/saveload.cpp index 4e73c5898..ff8851752 100644 --- a/src/saveload.cpp +++ b/src/saveload.cpp @@ -343,7 +343,7 @@ void SlSetLength(size_t length) /* Ugly encoding of >16M RIFF chunks * The lower 24 bits are normal * The uppermost 4 bits are bits 24:27 */ - assert(length < (1<<28)); + assert(length < (1 << 28)); SlWriteUint32((length & 0xFFFFFF) | ((length >> 24) << 28)); break; case CH_ARRAY: @@ -1218,7 +1218,7 @@ static void WriteZlibLoop(z_streamp z, byte *p, uint len, int mode) z->avail_out = sizeof(buf); r = deflate(z, mode); /* bytes were emitted? */ - if ((n=sizeof(buf) - z->avail_out) != 0) { + if ((n = sizeof(buf) - z->avail_out) != 0) { if (fwrite(buf, n, 1, _sl.fh) != 1) SlError(STR_GAME_SAVELOAD_ERROR_FILE_NOT_WRITEABLE); } if (r == Z_STREAM_END) -- cgit v1.2.3-54-g00ecf