--- a/src/screenshot.cpp Mon Nov 19 04:34:40 2007 +0000
+++ b/src/screenshot.cpp Mon Nov 19 18:38:10 2007 +0000
@@ -123,7 +123,7 @@
if (pixelformat == 8) if (fwrite(rq, sizeof(rq), 1, f) != 1) return false;
/* use by default 64k temp memory */
- maxlines = clamp(65536 / padw, 16, 128);
+ maxlines = Clamp(65536 / padw, 16, 128);
/* now generate the bitmap bits */
void *buff = MallocT<uint8>(padw * maxlines * bpp); // by default generate 128 lines at a time.
@@ -251,7 +251,7 @@
}
/* use by default 64k temp memory */
- maxlines = clamp(65536 / w, 16, 128);
+ maxlines = Clamp(65536 / w, 16, 128);
/* now generate the bitmap bits */
void *buff = MallocT<uint8>(w * maxlines * bpp); // by default generate 128 lines at a time.
@@ -351,7 +351,7 @@
}
/* use by default 64k temp memory */
- maxlines = clamp(65536 / w, 16, 128);
+ maxlines = Clamp(65536 / w, 16, 128);
/* now generate the bitmap bits */
uint8 *buff = MallocT<uint8>(w * maxlines); // by default generate 128 lines at a time.