]> git.eshelyaron.com Git - emacs.git/commitdiff
(x_decode_color): Don't return a Lisp_Object.
authorGerd Moellmann <gerd@gnu.org>
Tue, 26 Sep 2000 12:36:33 +0000 (12:36 +0000)
committerGerd Moellmann <gerd@gnu.org>
Tue, 26 Sep 2000 12:36:33 +0000 (12:36 +0000)
src/xfns.c

index 999c60d3143f121b4304aa5b6dc820b845ec3081..4355bdb5010371f71b1e7f8d3cdf5e488183dfbb 100644 (file)
@@ -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;
 }