repo: rxvt-unicode-sixel
action: commit
revision: 
path_from: 
revision_from: 98527f352579ef84f51df3c1964cdbdda4635963:
path_to: 
revision_to: 
git.thebackupbox.net
rxvt-unicode-sixel
git clone git://git.thebackupbox.net/rxvt-unicode-sixel
commit 98527f352579ef84f51df3c1964cdbdda4635963
Author: Marc Lehmann 
Date:   Mon Jun 4 16:12:55 2012 +0000

    *** empty log message ***

diff --git a/src/rxvtimg.C b/src/rxvtimg.C
index 2806c60dde2979e43f4dfd31a8848da2aff58cb6..
index ..c9474ddbfbe706e09361f5b0c1ecc232463db733 100644
--- a/src/rxvtimg.C
+++ b/src/rxvtimg.C
@@ -361,8 +361,8 @@ rxvt_img *
 rxvt_img::scale (int new_width, int new_height)
 {
   double matrix[9] = {
-    new_width  / (double)w, 0, 0,
-    0, new_height / (double)h, 0,
+    w  / (double)new_width, 0, 0,
+    0, h / (double)new_height, 0,
     0,                      0, 1
   };

diff --git a/src/rxvtperl.xs b/src/rxvtperl.xs
index 098b2ee1486186e7748446a57f9b3f648a51ebba..
index ..64953b825375c410c0ded556d5a9abc8dd244031 100644
--- a/src/rxvtperl.xs
+++ b/src/rxvtperl.xs
@@ -802,7 +802,7 @@ BOOT:
     const_iv (XIMVisibleToForward),
     const_iv (XIMVisibleToBackword),
     const_iv (XIMVisibleToCenter),
-#if HAVE_XRENDER
+#if XRENDER
     const_iv (PictStandardARGB32),
     const_iv (PictStandardRGB24),
     const_iv (PictStandardA8),

-----END OF PAGE-----