diff src/callint.c @ 112434:9de5a68b57e1

Promote SSDATA macro from gtkutil.c and xsmfns.c to lisp.h.
author Paul Eggert <eggert@cs.ucla.edu>
date Sat, 22 Jan 2011 18:56:06 -0800
parents 42e22c4f06b7
children
line wrap: on
line diff
--- a/src/callint.c	Sat Jan 22 17:09:09 2011 -0800
+++ b/src/callint.c	Sat Jan 22 18:56:06 2011 -0800
@@ -646,7 +646,7 @@
 	  if (next_event >= key_count)
 	    error ("%s must be bound to an event with parameters",
 		   (SYMBOLP (function)
-		    ? (char *) SDATA (SYMBOL_NAME (function))
+		    ? SSDATA (SYMBOL_NAME (function))
 		    : "command"));
 	  args[i] = AREF (keys, next_event);
 	  next_event++;
@@ -974,4 +974,3 @@
   defsubr (&Scall_interactively);
   defsubr (&Sprefix_numeric_value);
 }
-