diff options
Diffstat (limited to 'editor/pambackground.c')
-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) { |