Enlightenment CVS committal
Author : vapier
Project : e17
Module : libs/imlib2
Dir : e17/libs/imlib2/src/modules/loaders
Modified Files:
loader_xpm.c
Log Message:
fix from Hans de Goede to look for /usr/share/X11/rgb.txt as most modern
systems are using now
===================================================================
RCS file: /cvs/e/e17/libs/imlib2/src/modules/loaders/loader_xpm.c,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -3 -r1.9 -r1.10
--- loader_xpm.c 27 May 2008 14:35:17 -0000 1.9
+++ loader_xpm.c 13 Jun 2008 22:39:27 -0000 1.10
@@ -52,6 +52,8 @@
/* look in rgb txt database */
if (!rgb_txt)
#ifndef __EMX__
+ rgb_txt = fopen("/usr/share/X11/rgb.txt", "r");
+ if (!rgb_txt)
rgb_txt = fopen("/usr/X11R6/lib/X11/rgb.txt", "r");
if (!rgb_txt)
rgb_txt = fopen("/usr/openwin/lib/X11/rgb.txt", "r");
-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
enlightenment-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs