repo: rxvt-unicode-sixel
action: commit
revision: 
path_from: 
revision_from: 6e73b4608e9d08d64a28eea77f92eec1f3f89e79:
path_to: 
revision_to: 
git.thebackupbox.net
rxvt-unicode-sixel
git clone git://git.thebackupbox.net/rxvt-unicode-sixel
commit 6e73b4608e9d08d64a28eea77f92eec1f3f89e79
Author: Marc Lehmann 
Date:   Mon Jul 2 01:32:26 2012 +0000

    *** empty log message ***

diff --git a/src/perl/background b/src/perl/background
index 79c393143992307ab268c81791b9cee54086ee7e..
index ..5851d7b92a886764de01a2b75fe0dd41d73a6127 100644
--- a/src/perl/background
+++ b/src/perl/background
@@ -279,15 +279,11 @@ is I loaded from the filesystem again.

 =cut

-   sub load_uc($) {
-      $self->new_img_from_file ($path)
-   }
-
    sub load($) {
       my ($path) = @_;

       $_IMG_CACHE{$path} || do {
-         my $img = load_uc $path;
+         my $img = $self->new_img_from_file ($path);
          Scalar::Util::weaken ($_IMG_CACHE{$path} = $img);
          $img
       }
diff --git a/src/rxvtimg.C b/src/rxvtimg.C
index 92cd1c00ef6d7192971498c0f5665b29ffb9bd17..
index ..d0d52fdadd5b9cdde22eb8c722340991ce7cfdf0 100644
--- a/src/rxvtimg.C
+++ b/src/rxvtimg.C
@@ -817,12 +817,6 @@ rxvt_img::scale (int new_width, int new_height)
 rxvt_img *
 rxvt_img::rotate (int cx, int cy, nv phi)
 {
-#if 0
-    { c, -s, cx - c * cx + s * cy },
-    { s,  c, cy - s * cx - c * cy },
-    { 0,  0,                    1 }
-#endif
-
   move (-cx, -cy);
   rxvt_img *img = transform (mat3x3::rotate (phi));
   move ( cx,  cy);
@@ -870,9 +864,7 @@ rxvt_img::tint (const rgba &c)
 rxvt_img *
 rxvt_img::filter (const char *name, int nparams, nv *params)
 {
-  rxvt_img *img = new_empty ();
-
-  composer cc (img);
+  composer cc (this);

   XFixed *xparams = rxvt_temp_buf (nparams);

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