diff options
Diffstat (limited to 'src/Bitmap.hs')
-rw-r--r-- | src/Bitmap.hs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Bitmap.hs b/src/Bitmap.hs index a896626..dfc1d04 100644 --- a/src/Bitmap.hs +++ b/src/Bitmap.hs @@ -65,4 +65,4 @@ drawBitmap d p gc fc bc x y i = h = height i setForeground d gc fc' setBackground d gc bc' - copyPlane d (pixmap i) p gc 0 0 w h x (y - fromIntegral h) 1 + copyPlane d (pixmap i) p gc 0 0 w h x (1 + y - fromIntegral h `div` 2) 1 |