extra rgb.txt src

SVN revision: 31486
This commit is contained in:
Carsten Haitzler 2007-08-25 02:07:16 +00:00
parent 1897c10296
commit 8ad14fe1ba
1 changed files with 1 additions and 0 deletions

View File

@ -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/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/openwin/lib/X11/rgb.txt", "r");
if (!rgb_txt) return;
fseek(rgb_txt, 0, SEEK_SET);
while (fgets(buf, sizeof(buf), rgb_txt))