diff src/window.c @ 286:57709be46d1b r21-0b41

Import from CVS: tag r21-0b41
author cvs
date Mon, 13 Aug 2007 10:35:03 +0200
parents 558f606b08ae
children e11d67e05968
line wrap: on
line diff
--- a/src/window.c	Mon Aug 13 10:34:15 2007 +0200
+++ b/src/window.c	Mon Aug 13 10:35:03 2007 +0200
@@ -719,7 +719,7 @@
   return 0;
 }
 
-int
+static int
 have_undivided_common_edge (struct window *w_right, void *closure)
 {
   struct window *w_left = (struct window *) closure;
@@ -754,8 +754,8 @@
 #endif
 
   /* Ok. to determine whether we need a divider on the left, we must
-     check that out right neighbor windows have scrollbars on their
-     left sides. We mist check all such windows which have common
+     check that our right neighbor windows have scrollbars on their
+     left sides. We must check all such windows which have common
      left edge with our window's right edge. */
   return map_windows (XFRAME (WINDOW_FRAME (w)),
 		      have_undivided_common_edge, (void*)w);
@@ -4359,7 +4359,7 @@
    non-zero, the mapping is halted.  Otherwise, map_windows() maps
    over all windows in F.
 
-   If MAPFUN create or delete windows, the behaviour is undefined.  */
+   If MAPFUN creates or deletes windows, the behaviour is undefined.  */
 
 int
 map_windows (struct frame *f, int (*mapfun) (struct window *w, void *closure),
@@ -4379,6 +4379,8 @@
 	    return v;
 	}
     }
+
+  return 0;
 }
 
 
@@ -5586,7 +5588,6 @@
 drawn at all between windows. When non-zero, one character wide
 divider is displayed.
 
-*Whether the modeline should be displayed.
 This is a specifier; use `set-specifier' to change it.
 */ );
 
@@ -5627,7 +5628,7 @@
 #endif
 #ifdef HAVE_X_WINDOWS
     /* #### 3D dividers look great on MS Windows with spacing = 0.
-       Shoud not the same value be the fallback under X? - kkm */
+       Should not the same value be the fallback under X? - kkm */
     fb = Fcons (Fcons (list1 (Qx), make_int (2)), fb);
 #endif
 #ifdef HAVE_MS_WINDOWS