diff src/msdos.c @ 111344:b775602e70c8

Cleanup fallout from redesigning mouse highlight. dispextern.h (tty_draw_row_with_mouse_face): Add prototype. xdisp.c (draw_row_with_mouse_face): Don't #ifdef away on MSDOS. Call tty_draw_row_with_mouse_face on MSDOS as well. msdos.c (tty_draw_row_with_mouse_face): Renamed from draw_row_with_mouse_face. Make the argument list identical to the GPM implementation. msdos.h (Display_Info): Restore typedef.
author Eli Zaretskii <eliz@gnu.org>
date Fri, 05 Nov 2010 12:03:17 +0200
parents 7f466168c008
children 22fafcf25a54 f6c701d79adf
line wrap: on
line diff
--- a/src/msdos.c	Tue Nov 02 21:35:12 2010 +0200
+++ b/src/msdos.c	Fri Nov 05 12:03:17 2010 +0200
@@ -948,12 +948,12 @@
 }
 
 /* Draw TEXT_AREA glyphs between START and END of glyph row ROW on
-   window W, starting at x-position X.  X is relative to TEXT_AREA
-   in W.  HL is a face override for drawing the glyphs.  */
+   window W.  X is relative to TEXT_AREA in W.  HL is a face override
+   for drawing the glyphs.  */
 void
-draw_row_with_mouse_face (struct window *w, int x, struct glyph_row *row,
-			  int start_hpos, int end_hpos,
-			  enum draw_glyphs_face hl)
+tty_draw_row_with_mouse_face (struct window *w, struct glyph_row *row,
+			      int start_hpos, int end_hpos,
+			      enum draw_glyphs_face hl)
 {
   struct frame *f = XFRAME (WINDOW_FRAME (w));
   struct tty_display_info *tty = FRAME_TTY (f);