[Xfce4-commits] <ristretto:master> Set minimal vertical offset to 0.5px

Stephan Arts noreply at xfce.org
Thu Oct 27 17:26:01 CEST 2011


Updating branch refs/heads/master
         to df9e41d40364dd3e324d89e2bfa60cf1303a0e03 (commit)
       from 1b3d51c0a2f5137defb2c5edd4faaee0ce09a68d (commit)

commit df9e41d40364dd3e324d89e2bfa60cf1303a0e03
Author: Stephan Arts <stephan at xfce.org>
Date:   Thu Oct 27 17:10:40 2011 +0200

    Set minimal vertical offset to 0.5px

 src/image_viewer.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/image_viewer.c b/src/image_viewer.c
index 36d0832..2b47608 100644
--- a/src/image_viewer.c
+++ b/src/image_viewer.c
@@ -950,7 +950,7 @@ paint_image (
         {
             viewer->priv->rendering.x_offset = 0.5;
         }
-        if (viewer->priv->rendering.y_offset < 0.0)
+        if (viewer->priv->rendering.y_offset < 0.5)
         {
             viewer->priv->rendering.y_offset = 0.5;
         }


More information about the Xfce4-commits mailing list