~ubuntu-branches/ubuntu/jaunty/rxvt-unicode/jaunty-proposed

« back to all changes in this revision

Viewing changes to debian/patches/urxvtc-destroy.patch

  • Committer: Bazaar Package Importer
  • Author(s): Decklin Foster
  • Date: 2008-10-25 22:53:39 UTC
  • mfrom: (3.1.3 sid)
  • Revision ID: james.westby@ubuntu.com-20081025225339-pzr5uu3k9hnrdfz4
Tags: 9.05-4
* Remove urxvtcd alternative in prerm (Closes: #503137)
  - Also, install its manual page as a slave.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
Index: rxvt-unicode-8.9/src/main.C
2
 
===================================================================
3
 
--- rxvt-unicode-8.9.orig/src/main.C    2008-01-15 22:21:13.000000000 -0500
4
 
+++ rxvt-unicode-8.9/src/main.C 2008-01-15 22:21:20.000000000 -0500
5
 
@@ -286,8 +286,11 @@
6
 
 #ifdef HAVE_BG_PIXMAP
7
 
   bgPixmap.destroy ();
8
 
 #endif
9
 
-  display->flush (); /* ideally .put should do this */
10
 
-  displays.put (display);
11
 
+  if (display)
12
 
+    {
13
 
+      display->flush (); /* ideally .put should do this */
14
 
+      displays.put (display);
15
 
+    }
16
 
 
17
 
   scr_release ();
18