fixed some style issues
authorroot <root>
Tue, 24 Jul 2007 14:31:45 +0000 (14:31 +0000)
committerroot <root>
Tue, 24 Jul 2007 14:31:45 +0000 (14:31 +0000)
src/init.C
src/xpm.C

index 454e90d2afe35cbb95ed64d04fc0c4c87b1d5a76..6b284e555c342d569d6a12d790daa2ba0ffafbe3 100644 (file)
@@ -1,4 +1,4 @@
-/*----------------------------------------------------------------------*
+ /*----------------------------------------------------------------------*
  * File:        init.C
  *----------------------------------------------------------------------*
  *
@@ -320,7 +320,7 @@ rxvt_term::init_resources (int argc, const char *const *argv)
 
 #ifdef HAVE_AFTERIMAGE
   ::dpy = NULL ; /* init global var from libAfter... */
-  asv = AFTERIMAGE_DPY_OP(create_asvisual_for_id (dpy, display->screen, depth, XVisualIDFromVisual (visual), cmap, NULL));
+  asv = AFTERIMAGE_DPY_OP (create_asvisual_for_id (dpy, display->screen, depth, XVisualIDFromVisual (visual), cmap, NULL));
 #endif
   free (r_argv);
 
index f2eaf1fccb6ef446d6d7457766398288ceadb04d..475e0b772a061d79db48465586239e1c2bfa2035 100644 (file)
--- a/src/xpm.C
+++ b/src/xpm.C
@@ -390,11 +390,11 @@ rxvt_term::resize_pixmap ()
       /* will do that in check_our_parents otherwise */
 #endif
         {
-          ASImage *scaled_im = scale_asimage( asv, original_asim, w, h, ASA_XImage, 0, ASIMAGE_QUALITY_DEFAULT );
+          ASImage *scaled_im = scale_asimage (asv, original_asim, w, h, ASA_XImage, 0, ASIMAGE_QUALITY_DEFAULT);
           if (scaled_im) 
             {
-              pixmap = AFTERIMAGE_DPY_OP(asimage2pixmap( asv, display->root, scaled_im, gc, True ));
-              destroy_asimage( &scaled_im );
+              pixmap = AFTERIMAGE_DPY_OP (asimage2pixmap(asv, display->root, scaled_im, gc, True));
+              destroy_asimage (&scaled_im);
             }
         }
 #else   /* HAVE_AFTERIMAGE */
@@ -493,7 +493,7 @@ rxvt_term::set_bgPixmap (const char *file)
         }
       if (original_asim)
         {
-          bgPixmap.pixmap = AFTERIMAGE_DPY_OP(asimage2pixmap( asv, display->root, original_asim, NULL, True ));
+          bgPixmap.pixmap = AFTERIMAGE_DPY_OP (asimage2pixmap (asv, display->root, original_asim, NULL, True));
           xpmAttr.width = original_asim->width ; 
           xpmAttr.height = original_asim->height ; 
         }
@@ -903,7 +903,7 @@ rxvt_term::check_our_parents_cb (time_watcher &w)
                 MAKE_ROOTPMAP_GEOM(x,w,width);
                 MAKE_ROOTPMAP_GEOM(y,h,height);
 
-                layers[0].im = AFTERIMAGE_DPY_OP(pixmap2asimage (asv, rootpixmap, back_x, back_y, back_w, back_h, AllPlanes, ASA_ASImage, 100));
+                layers[0].im = AFTERIMAGE_DPY_OP (pixmap2asimage (asv, rootpixmap, back_x, back_y, back_w, back_h, AllPlanes, ASA_ASImage, 100));
                 layers[0].clip_x = (back_w == pmap_w)?root_x:0;
                 layers[0].clip_y = (back_h == pmap_h)?root_y:0;
                 layers[0].clip_width = szHint.width;
@@ -961,7 +961,7 @@ rxvt_term::check_our_parents_cb (time_watcher &w)
                 destroy_asimage( &(layers[0].im) );
                 if (merged_im != NULL)
                   {
-                    tmp_pmap = AFTERIMAGE_DPY_OP(asimage2pixmap( asv, DefaultRootWindow(dpy), merged_im, gc, True ));
+                    tmp_pmap = AFTERIMAGE_DPY_OP (asimage2pixmap (asv, DefaultRootWindow(dpy), merged_im, gc, True));
                     destroy_asimage( &merged_im );
                   }
                 free( layers );