Browse Source

Support modular X11 path to rgb.txt patch by (Ville Skyttä - scop from SF-bugtracker)

Originally committed as revision 5429 to svn://svn.ffmpeg.org/ffmpeg/trunk
tags/v0.5
Ville Skyttä Michael Niedermayer 19 years ago
parent
commit
22a0e90712
1 changed files with 3 additions and 1 deletions
  1. +3
    -1
      vhook/imlib2.c

+ 3
- 1
vhook/imlib2.c View File

@@ -144,7 +144,9 @@ int Configure(void **ctxp, int argc, char *argv[])
char buff[256];
int done = 0;

f = fopen("/usr/lib/X11/rgb.txt", "r");
f = fopen("/usr/share/X11/rgb.txt", "r");
if (!f)
f = fopen("/usr/lib/X11/rgb.txt", "r");
if (!f) {
fprintf(stderr, "Failed to find rgb.txt\n");
return -1;


Loading…
Cancel
Save