repo: rxvt-unicode-sixel action: commit revision: path_from: revision_from: 98527f352579ef84f51df3c1964cdbdda4635963: path_to: revision_to:
commit 98527f352579ef84f51df3c1964cdbdda4635963 Author: Marc LehmannDate: Mon Jun 4 16:12:55 2012 +0000 *** empty log message *** diff --git a/src/rxvtimg.C b/src/rxvtimg.C
--- 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
--- 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-----