diff src/keyboard.c @ 12007:4179378fa410

(make_lispy_event, make_lispy_movement): Use NULL, not 0, as arg of pixel_to_glyph_coords.
author Karl Heuer <kwzh@gnu.org>
date Mon, 29 May 1995 21:04:07 +0000
parents 25aed301d8f7
children 3bbf71f1cf30
line wrap: on
line diff
--- a/src/keyboard.c	Mon May 29 21:03:47 1995 +0000
+++ b/src/keyboard.c	Mon May 29 21:04:07 1995 +0000
@@ -3049,7 +3049,7 @@
 	      return Qnil;
 
 	    pixel_to_glyph_coords (f, XINT (event->x), XINT (event->y),
-				   &column, &row, 0, 1);
+				   &column, &row, NULL, 1);
 
 #ifndef USE_X_TOOLKIT
 	    /* In the non-toolkit version, clicks on the menu bar
@@ -3318,7 +3318,8 @@
 #endif
 	{
 	  /* It's in a frame; which window on that frame?  */
-	  pixel_to_glyph_coords (frame, XINT (x), XINT (y), &column, &row, 0, 1);
+	  pixel_to_glyph_coords (frame, XINT (x), XINT (y), &column, &row,
+				 NULL, 1);
 	  window = window_from_coordinates (frame, column, row, &area);
 	}
       else