(no message)
[unix-history] / usr / src / usr.bin / ex / ex_vops3.c
index b1ae183..844f24c 100644 (file)
@@ -1,4 +1,5 @@
-/* Copyright (c) 1979 Regents of the University of California */
+/* Copyright (c) 1981 Regents of the University of California */
+static char *sccsid = "@(#)ex_vops3.c  7.1     %G%";
 #include "ex.h"
 #include "ex_tty.h"
 #include "ex_vis.h"
 #include "ex.h"
 #include "ex_tty.h"
 #include "ex_vis.h"
@@ -414,8 +415,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--;