19 lines
900 B
Diff
19 lines
900 B
Diff
|
diff -uNr imlib2-1.4.10/src/modules/loaders/loader_xpm.c imlib2-1.4.10.mod/src/modules/loaders/loader_xpm.c
|
||
|
--- imlib2-1.4.10/src/modules/loaders/loader_xpm.c 2017-03-25 08:48:49.000000000 +0200
|
||
|
+++ imlib2-1.4.10.mod/src/modules/loaders/loader_xpm.c 2017-11-27 14:14:02.991355044 +0200
|
||
|
@@ -51,11 +51,11 @@
|
||
|
}
|
||
|
/* look in rgb txt database */
|
||
|
if (!rgb_txt)
|
||
|
- rgb_txt = fopen("/usr/share/X11/rgb.txt", "r");
|
||
|
+ rgb_txt = fopen("/data/data/com.termux/files/usr/share/X11/rgb.txt", "r");
|
||
|
if (!rgb_txt)
|
||
|
- rgb_txt = fopen("/usr/X11R6/lib/X11/rgb.txt", "r");
|
||
|
+ rgb_txt = fopen("/data/data/com.termux/files/usr/X11R6/lib/X11/rgb.txt", "r");
|
||
|
if (!rgb_txt)
|
||
|
- rgb_txt = fopen("/usr/openwin/lib/X11/rgb.txt", "r");
|
||
|
+ rgb_txt = fopen("/data/data/com.termux/files/usr/openwin/lib/X11/rgb.txt", "r");
|
||
|
if (!rgb_txt)
|
||
|
return;
|
||
|
fseek(rgb_txt, 0, SEEK_SET);
|