diff src/window.c @ 25546:e98819a94512

Change `top-line' and `top_line' to `header-line' and `header_line'. Likewise for similar spellings.
author Gerd Moellmann <gerd@gnu.org>
date Sun, 05 Sep 1999 16:39:19 +0000
parents 693ca9ba497a
children 63deb587dce1
line wrap: on
line diff
--- a/src/window.c	Sun Sep 05 16:38:56 1999 +0000
+++ b/src/window.c	Sun Sep 05 16:39:19 1999 +0000
@@ -480,8 +480,8 @@
 	   && *y >= bottom_y - CURRENT_MODE_LINE_HEIGHT (w))
     /* On the mode line.  */
     return 2;
-  else if (WINDOW_WANTS_TOP_LINE_P (w)
-	   && *y < top_y + CURRENT_TOP_LINE_HEIGHT (w))
+  else if (WINDOW_WANTS_HEADER_LINE_P (w)
+	   && *y < top_y + CURRENT_HEADER_LINE_HEIGHT (w))
     /* On the top line.  */
     return 4;
   else if (*x < left_x || *x >= right_x)
@@ -519,7 +519,7 @@
 If COORDINATES are in the text portion of WINDOW,\n\
    the coordinates relative to the window are returned.\n\
 If they are in the mode line of WINDOW, `mode-line' is returned.\n\
-If they are in the top mode line of WINDOW, `top-line' is returned.\n\
+If they are in the top mode line of WINDOW, `header-line' is returned.\n\
 If they are in the bitmap-area to the left of the window,\n\
    `left-bitmap-area' is returned, if they are in the area on the right of\n\
    the window, `right-bitmap-area' is returned.\n\
@@ -563,7 +563,7 @@
       return Qvertical_line;
 
     case 4:
-      return Qtop_line;
+      return Qheader_line;
 
     case 5:
       return Qleft_bitmap_area;
@@ -2089,7 +2089,7 @@
 	{
 	  if (MINI_WINDOW_P (w)
 	      || (!WINDOW_WANTS_MODELINE_P (w)
-		  && !WINDOW_WANTS_TOP_LINE_P (w)))
+		  && !WINDOW_WANTS_HEADER_LINE_P (w)))
 	    size = 1;
 	  else
 	    size = window_min_height;