about summary refs log tree commit diff
path: root/other/pamx/window.c
diff options
context:
space:
mode:
authorgiraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8>2022-03-20 17:26:12 +0000
committergiraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8>2022-03-20 17:26:12 +0000
commit925336fe011635da550369b9db527f034fbc587d (patch)
treeacf50acf5e6fdb4e7ecaf57013ec1f96c94dccb6 /other/pamx/window.c
parentedd488e6e6220bad9cd1319bcbac2c50262e35ea (diff)
downloadnetpbm-mirror-925336fe011635da550369b9db527f034fbc587d.tar.gz
netpbm-mirror-925336fe011635da550369b9db527f034fbc587d.tar.xz
netpbm-mirror-925336fe011635da550369b9db527f034fbc587d.zip
Release 10.86.32
git-svn-id: http://svn.code.sf.net/p/netpbm/code/stable@4311 9d0c8265-081b-0410-96cb-a4ca84ce46f8
Diffstat (limited to 'other/pamx/window.c')
-rw-r--r--other/pamx/window.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/other/pamx/window.c b/other/pamx/window.c
index d907163b..d44008c9 100644
--- a/other/pamx/window.c
+++ b/other/pamx/window.c
@@ -366,7 +366,7 @@ placeImage(viewer * const viewerP,
         pixy = (viewerP->height - height) / 2;
     else {
         if ((pixy < 0) && (pixy + height < viewerP->height))
-            pixy = viewerP->height - viewerP->height;
+            pixy = viewerP->height - height;
         if (pixy > 0)
             pixy = 0;
     }