1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
--- bmp/bmp.c
+++ bmp/bmp.c
@@ -446,9 +446,7 @@
}
if ((rleBuf[0]==0) && (rleBuf[1]==2)) {
/* Deltarecord */
- /* printf ("Deltarecord\n"); fflush (stdout); */
- x += rleBuf[2];
- y += rleBuf[3];
+ Tcl_AppendResult(interp, "Delta records not supported.", (char *)NULL);
}
}
}
--- ps/ps.c
+++ ps/ps.c
@@ -171,7 +171,7 @@
(tkimg_Read(handle, (char *) buf, 40) == 40))) {
int w, h, zoomx, zoomy;
char *p = buf;
- buf[41] = 0;
+ buf[40] = 0;
w = - (int) strtoul(p, &p, 0);
h = - (int) strtoul(p, &p, 0);
w += strtoul(p, &p, 0);
--- tiff/tiff.c
+++ tiff/tiff.c
@@ -561,7 +561,7 @@
int srcX, srcY;
{
myblock bl;
- unsigned char *pixelPtr = block.pixelPtr;
+ unsigned char *pixelPtr;
uint32 w, h;
size_t npixels;
uint32 *raster;
|