summaryrefslogtreecommitdiff
path: root/src/smooth/ftgrays.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/smooth/ftgrays.c')
-rw-r--r--src/smooth/ftgrays.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/smooth/ftgrays.c b/src/smooth/ftgrays.c
index 55da7c340..e6d361b81 100644
--- a/src/smooth/ftgrays.c
+++ b/src/smooth/ftgrays.c
@@ -553,7 +553,7 @@
if ( ex1 != ex2 )
{
- p = ONE_PIXEL * ( y2 - y1 );
+ p = ONE_PIXEL * ( y2 - y1 + delta );
lift = p / dx;
rem = p % dx;
if ( rem < 0 )