Package: kinoplus
Version: 0.3.3-3
Severity: important
Tag: patch

Due to a typo in the ImageMagick overlay code (startwidth used for
startheight in calculation of height change), the overlay height shrinks
even when startgeometry==endgeometry is set in the dialog.

Trivial patch attached.

        Michael
--- src/book.cc~        2005-01-14 13:51:50.342464088 +0100
+++ src/book.cc 2005-01-14 13:51:50.343463936 +0100
@@ -683,7 +683,7 @@
                        int x = (int)( startx + ( endx - startx ) * position );
                        int y = (int)( starty + ( endy - starty ) * position );
                        int w = (int)( startwidth + ( endwidth - startwidth ) * 
position );
-                       int h = (int)( startheight + ( endheight - startwidth ) 
* position );
+                       int h = (int)( startheight + ( endheight - startheight 
) * position );
 
                        convert.Clear();
                        sprintf( command, "%s -draw \"image %s %d,%d %d,%d 
'%s'\"", 

Reply via email to