aboutsummaryrefslogtreecommitdiffstats
path: root/src/xfns.c
diff options
context:
space:
mode:
authorGerd Moellmann <[email protected]>2000-09-26 12:36:33 +0000
committerGerd Moellmann <[email protected]>2000-09-26 12:36:33 +0000
commitc301be266a06abdacc9c8403f180855cccc3b738 (patch)
tree86bd8866fedcfa0696c2aa96066a8cd52c9bea52 /src/xfns.c
parent5c20a7bf676a6e74f61909785a0500c53bf36210 (diff)
(x_decode_color): Don't return a Lisp_Object.
Diffstat (limited to 'src/xfns.c')
-rw-r--r--src/xfns.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/xfns.c b/src/xfns.c
index 999c60d314..4355bdb501 100644
--- a/src/xfns.c
+++ b/src/xfns.c
@@ -1302,8 +1302,9 @@ x_decode_color (f, color_name, mono_color)
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;
}