rpms/nedit/devel nedit-5.5-visfix.patch,NONE,1.1

Jindrich Novy (jnovy) fedora-extras-commits at redhat.com
Wed Aug 30 11:22:38 UTC 2006


Author: jnovy

Update of /cvs/extras/rpms/nedit/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv27945

Added Files:
	nedit-5.5-visfix.patch 
Log Message:
- add visfix patch


nedit-5.5-visfix.patch:

--- NEW FILE nedit-5.5-visfix.patch ---
--- nedit-5.5/util/misc.c.visfix	2004-08-10 00:20:00.000000000 +0200
+++ nedit-5.5/util/misc.c	2006-08-30 13:06:31.000000000 +0200
@@ -384,6 +384,9 @@
 	return (*visual == DefaultVisual(display, screen));
     }
     
+    /* Set "Default" visual to avoid crashes with the detected best ones */
+    reqID = DefaultVisual(display, screen)->visualid;
+    
     /* Read the visualID and installColormap resources for the application.
        visualID can be specified either as a number (the visual id as
        shown by xdpyinfo), as a visual class name, or as Best or Default. */




More information about the fedora-extras-commits mailing list