--- a/src/saveload.cpp Fri Apr 18 03:20:59 2008 +0000
+++ b/src/saveload.cpp Fri Apr 18 04:37:06 2008 +0000
@@ -343,7 +343,7 @@
/* 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 @@
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)