[gimp] plug-ins: fix segfault in apply-canvas



commit 1a8848be87665cb8c9b63a5e2567cd7dbccced93
Author: Téo Mazars <teomazars gmail com>
Date:   Sat Dec 21 12:54:55 2013 +0100

    plug-ins: fix segfault in apply-canvas

 plug-ins/common/apply-canvas.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/plug-ins/common/apply-canvas.c b/plug-ins/common/apply-canvas.c
index 73caf20..74a375b 100644
--- a/plug-ins/common/apply-canvas.c
+++ b/plug-ins/common/apply-canvas.c
@@ -1424,7 +1424,7 @@ strucpi (GimpDrawable *drawable,
     case 3:
       xm = 128;
       ym = -1;
-      offs = 128;
+      offs = 127;
       break;
 
     default:


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]