From 74388b2c0d07b8cf2647837347bdd2ed7353cdc4 Mon Sep 17 00:00:00 2001 From: jylam Date: Wed, 27 Aug 2008 12:58:22 +0000 Subject: [PATCH] * Fixed a buffer overflow in antialiased lines git-svn-id: file:///srv/caca.zoy.org/var/lib/svn/libpipi/trunk@2782 92316355-f0b4-4df1-b90c-862c8a59935f --- pipi/paint/aline_template.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pipi/paint/aline_template.h b/pipi/paint/aline_template.h index fc267aa..c26aaba 100644 --- a/pipi/paint/aline_template.h +++ b/pipi/paint/aline_template.h @@ -97,7 +97,7 @@ else { val2 = fractf(yend)*xgap; PLOT(ix1, iy1, val1); - PLOT(ix1, iy1+1, val2); + PLOT(ix1, (iy1+1)