Mercurial > emacs
changeset 31902:f526f6f002d7
(x_decode_color): Don't return a Lisp_Object.
author | Gerd Moellmann <gerd@gnu.org> |
---|---|
date | Tue, 26 Sep 2000 12:36:33 +0000 |
parents | 4e2853ad5d2d |
children | 3e0a1f91c149 |
files | src/xfns.c |
diffstat | 1 files changed, 3 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/src/xfns.c Tue Sep 26 12:35:33 2000 +0000 +++ b/src/xfns.c Tue Sep 26 12:36:33 2000 +0000 @@ -1302,8 +1302,9 @@ if (x_defined_color (f, XSTRING (color_name)->data, &cdef, 1)) return cdef.pixel; - return Fsignal (Qerror, Fcons (build_string ("Undefined color"), - Fcons (color_name, Qnil))); + Fsignal (Qerror, Fcons (build_string ("Undefined color"), + Fcons (color_name, Qnil))); + return 0; }