(svn r12761) -Codechange: lots of minor whitespace coding style fixes around operators.

This commit is contained in:
rubidium
2008-04-18 04:37:06 +00:00
parent 6daaf0fc55
commit 9d8fa486af
33 changed files with 70 additions and 70 deletions

View File

@@ -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)