about summary refs log tree commit diff
path: root/editor/pambackground.c
diff options
context:
space:
mode:
authorgiraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8>2014-11-23 04:04:03 +0000
committergiraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8>2014-11-23 04:04:03 +0000
commiteea36a12d670e6ca52f94729401b9d272d77a1d9 (patch)
treee56633ec52486c8f2911f9e7d1dccf94d8ae2d16 /editor/pambackground.c
parent6832a017d85ff6e88fe8ccde42f5c87c0c40e0b6 (diff)
downloadnetpbm-mirror-eea36a12d670e6ca52f94729401b9d272d77a1d9.tar.gz
netpbm-mirror-eea36a12d670e6ca52f94729401b9d272d77a1d9.tar.xz
netpbm-mirror-eea36a12d670e6ca52f94729401b9d272d77a1d9.zip
Release 10.68.02
git-svn-id: http://svn.code.sf.net/p/netpbm/code/advanced@2323 9d0c8265-081b-0410-96cb-a4ca84ce46f8
Diffstat (limited to 'editor/pambackground.c')
-rw-r--r--editor/pambackground.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/pambackground.c b/editor/pambackground.c
index c27d071d..b4941042 100644
--- a/editor/pambackground.c
+++ b/editor/pambackground.c
@@ -353,7 +353,7 @@ expandBackgroundVert(unsigned char ** const pi,
     unsigned int col;
     bool expanded;
 
-    for (col = 1, expanded = FALSE; col < height-1; ++col) {
+    for (col = 1, expanded = FALSE; col < width-1; ++col) {
         int row;
 
         for (row = 1; row < height - 1; ++row) {