forked from enlightenment/efl
parent
1897c10296
commit
8ad14fe1ba
|
@ -61,6 +61,7 @@ xpm_parse_color(char *color, int *r, int *g, int *b)
|
||||||
if (!rgb_txt) rgb_txt = fopen("/usr/lib/X11/rgb.txt", "r");
|
if (!rgb_txt) rgb_txt = fopen("/usr/lib/X11/rgb.txt", "r");
|
||||||
if (!rgb_txt) rgb_txt = fopen("/usr/X11/lib/X11/rgb.txt", "r");
|
if (!rgb_txt) rgb_txt = fopen("/usr/X11/lib/X11/rgb.txt", "r");
|
||||||
if (!rgb_txt) rgb_txt = fopen("/usr/X11R6/lib/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");
|
||||||
if (!rgb_txt) return;
|
if (!rgb_txt) return;
|
||||||
fseek(rgb_txt, 0, SEEK_SET);
|
fseek(rgb_txt, 0, SEEK_SET);
|
||||||
while (fgets(buf, sizeof(buf), rgb_txt))
|
while (fgets(buf, sizeof(buf), rgb_txt))
|
||||||
|
|
Loading…
Reference in New Issue