forked from old/legacy-imlib2
fix from Hans de Goede to look for /usr/share/X11/rgb.txt as most modern systems are using now
SVN revision: 34819
This commit is contained in:
parent
9c62d07da3
commit
a6fa566a3d
|
@ -52,6 +52,8 @@ xpm_parse_color(char *color, int *r, int *g, int *b)
|
|||
/* 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");
|
||||
|
|
Loading…
Reference in New Issue