diff src/event-gtk.c @ 789:06b73d289047

[xemacs-hg @ 2002-03-21 15:13:41 by wmperry] Fix typos in emacs_gtk_format_magic_event, courtesy of Malcolm Purvis
author wmperry
date Thu, 21 Mar 2002 15:13:43 +0000
parents 026c5bf9c134
children 755d0acc05ea
line wrap: on
line diff
--- a/src/event-gtk.c	Thu Mar 21 07:31:30 2002 +0000
+++ b/src/event-gtk.c	Thu Mar 21 15:13:43 2002 +0000
@@ -211,10 +211,10 @@
 static void
 emacs_gtk_format_magic_event (Lisp_Event *emacs_event, Lisp_Object pstream)
 {
-  Lisp_Object console = CDFW_CONSOLE (EVENT_CHANNEL (event));
+  Lisp_Object console = CDFW_CONSOLE (EVENT_CHANNEL (emacs_event));
   if (CONSOLE_GTK_P (XCONSOLE (console)))
-    write_c_string (gtk_event_name (event->event.magic.underlying_gdk_event.
-				    type));
+    write_c_string (gtk_event_name (emacs_event->event.magic.underlying_gdk_event.type),
+		    pstream);
 }
 
 static int