[Scummvm-cvs-logs] CVS: residual bitmap.cpp,1.12,1.13
Max Horn
fingolfin at users.sourceforge.net
Sat Feb 21 07:49:02 CET 2004
Update of /cvsroot/scummvm/residual
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv11428
Modified Files:
bitmap.cpp
Log Message:
std::map has no 'resize()' method
Index: bitmap.cpp
===================================================================
RCS file: /cvsroot/scummvm/residual/bitmap.cpp,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -d -r1.12 -r1.13
--- bitmap.cpp 23 Jan 2004 11:10:21 -0000 1.12
+++ bitmap.cpp 21 Feb 2004 15:36:31 -0000 1.13
@@ -170,7 +170,7 @@
}
}
-#define GET_BIT bit = bitstr_value & 1; \
+#define GET_BIT do { bit = bitstr_value & 1; \
bitstr_len--; \
bitstr_value >>= 1; \
if (bitstr_len == 0) { \
@@ -178,7 +178,7 @@
bitstr_len = 16; \
compressed += 2; \
} \
- do {} while (0)
+ } while (0)
static void decompress_codec3(const char *compressed, char *result) {
int bitstr_value = READ_LE_UINT16(compressed);
More information about the Scummvm-git-logs
mailing list