Add copyright
[unix-history] / usr / src / usr.bin / ex / ex_vops3.c
index 1f2e366..26ad8b8 100644 (file)
@@ -1,5 +1,13 @@
-/* Copyright (c) 1980 Regents of the University of California */
-static char *sccsid = "@(#)ex_vops3.c  6.1 %G%";
+/*
+ * Copyright (c) 1980 Regents of the University of California.
+ * All rights reserved.  The Berkeley software License Agreement
+ * specifies the terms and conditions for redistribution.
+ */
+
+#ifndef lint
+static char sccsid[] = "@(#)ex_vops3.c 7.2 (Berkeley) %G%";
+#endif not lint
+
 #include "ex.h"
 #include "ex_tty.h"
 #include "ex_vis.h"
 #include "ex.h"
 #include "ex_tty.h"
 #include "ex_vis.h"
@@ -415,8 +423,10 @@ lskipbal(parens)
        register int c;
 
        do {
        register int c;
 
        do {
-               if (!lnext())
+               if (!lnext()) {
+                       wdot = NOLINE;
                        return (0);
                        return (0);
+               }
                c = *wcursor;
                if (c == parens[1])
                        level--;
                c = *wcursor;
                if (c == parens[1])
                        level--;