Fix compilation with --disable-afterimage --disable-transparency.
authorayin <ayin>
Wed, 21 Nov 2007 09:15:33 +0000 (09:15 +0000)
committerayin <ayin>
Wed, 21 Nov 2007 09:15:33 +0000 (09:15 +0000)
src/main.C

index 28a804c4f182672f45c4e6cc6dbbb9cbbef451cb..f1fbd4e7414d64b8a87df59e3b582d854d343c71 100644 (file)
@@ -286,7 +286,9 @@ rxvt_term::~rxvt_term ()
   delete [] pix_colors_unfocused;
 #endif
 
+#ifdef HAVE_BG_PIXMAP
   bgPixmap.destroy ();
+#endif
   displays.put (display);
 
   scr_release ();