1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-01 22:05:08 +00:00
freebsd-ports/graphics/hpscan/files/patch-ac
Joerg Wunsch 8c01e708c2 Some additions:
. fix a minor bug, causing core dumps in some occasions
. add handling for 15/16/24/32 bit displays
. provide an Imakefile

Reviewed by: Richard Tobin, and nate
1996-01-13 18:59:59 +00:00

14 lines
347 B
Plaintext

diff -u old/gui.c gui.c
--- old/gui.c Thu Jul 28 14:53:01 1994
+++ gui.c Fri Jan 12 17:25:53 1996
@@ -646,7 +665,7 @@
for(y=MARGIN; y<raw->height-MARGIN; y++)
{
- p = raw->data + (y * raw->width + MARGIN) * 3;
+ p = raw->data + y * raw->width + MARGIN * 3;
for(x=MARGIN; x<raw->width-MARGIN; x++)
{
Only in work: oldmain.c