diff options
author | giraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8> | 2014-11-05 04:32:40 +0000 |
---|---|---|
committer | giraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8> | 2014-11-05 04:32:40 +0000 |
commit | 19305dc65d566d251eea047ba4275afa425e0b4d (patch) | |
tree | 0fda6aa4cbc144b8d41d5e1ad7d001332f700d52 /editor | |
parent | 4c7570fa486084b3ac2d70fe95d293f963e85ad8 (diff) | |
download | netpbm-mirror-19305dc65d566d251eea047ba4275afa425e0b4d.tar.gz netpbm-mirror-19305dc65d566d251eea047ba4275afa425e0b4d.tar.xz netpbm-mirror-19305dc65d566d251eea047ba4275afa425e0b4d.zip |
Fix height used where width needed
git-svn-id: http://svn.code.sf.net/p/netpbm/code/trunk@2303 9d0c8265-081b-0410-96cb-a4ca84ce46f8
Diffstat (limited to 'editor')
-rw-r--r-- | editor/pambackground.c | 2 |
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) { |