Skip to content

Commit a071d3c

Browse files
committed
Fix typos.
1 parent d04ba1a commit a071d3c

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

tools/ipptransform.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4060,7 +4060,7 @@ xform_document(
40604060
yend = ystart + height;
40614061
}
40624062

4063-
memset(line, ras->white, linesize);
4063+
memset(line, ras.white, linesize);
40644064

40654065
// Skip max value line...
40664066
if (!fgets(header, sizeof(header), fp))
@@ -4096,14 +4096,14 @@ xform_document(
40964096
for (; y < yend; y ++)
40974097
{
40984098
// Copy lines...
4099-
memset(line. 255, linesize);
4099+
memset(line, 255, linesize);
41004100

41014101
if (fread(linein, width, bpp, fp))
41024102
{
41034103
if (ras.header.cupsBitsPerPixel == 1)
41044104
dither_gray(&ras, y, lineout, ras.header.cupsBytesPerLine);
41054105
else if (ras.header.cupsColorSpace == CUPS_CSPACE_K)
4106-
pack_black(lineptr, ras.right - ras.left);
4106+
pack_black(lineout, ras.right - ras.left);
41074107

41084108
(ras.write_line)(&ras, y, lineout, cb, ctx);
41094109
}

0 commit comments

Comments
 (0)