diff options
author | Juanma Barranquero <lekktu@gmail.com> | 2011-03-17 16:44:02 +0100 |
---|---|---|
committer | Juanma Barranquero <lekktu@gmail.com> | 2011-03-17 16:44:02 +0100 |
commit | 45763476fcc967a750bb2abe3bd7a43b7a19e537 (patch) | |
tree | 200fccde22283f915b04affa37e022c27834b6a9 /src/xfaces.c | |
parent | e4021ec1d72e0493b9f80230a9324c06d0579581 (diff) | |
download | emacs-45763476fcc967a750bb2abe3bd7a43b7a19e537.tar.gz |
src/xfaces.c (Fx_load_color_file): Read color file from absolute filename.
Fixes: debbugs:8250
Diffstat (limited to 'src/xfaces.c')
-rw-r--r-- | src/xfaces.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/xfaces.c b/src/xfaces.c index e9e677d1b19..9956ef55842 100644 --- a/src/xfaces.c +++ b/src/xfaces.c @@ -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]; |