Commit 45763476 authored by Juanma Barranquero's avatar Juanma Barranquero
Browse files

src/xfaces.c (Fx_load_color_file): Read color file from absolute filename.

Fixes: debbugs:8250
parent e4021ec1
2011-03-17 Juanma Barranquero <>
* xfaces.c (Fx_load_color_file):
Read color file from absolute filename (bug#8250).
2011-03-11 Juanma Barranquero <>
Backport revno:103582 from trunk.
......@@ -6625,7 +6625,7 @@ where R,G,B are numbers between 0 and 255 and name is an arbitrary string. */)
CHECK_STRING (filename);
abspath = Fexpand_file_name (filename, Qnil);
fp = fopen (SDATA (filename), "rt");
fp = fopen (SDATA (abspath), "rt");
if (fp)
char buf[512];
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment