From 19305dc65d566d251eea047ba4275afa425e0b4d Mon Sep 17 00:00:00 2001 From: giraffedata Date: Wed, 5 Nov 2014 04:32:40 +0000 Subject: Fix height used where width needed git-svn-id: http://svn.code.sf.net/p/netpbm/code/trunk@2303 9d0c8265-081b-0410-96cb-a4ca84ce46f8 --- editor/pambackground.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'editor/pambackground.c') 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) { -- cgit 1.4.1