updated for version 7.3.270
Problem:    Illegal memory access.
Solution:   Swap conditions. (Dominique Pelle)
diff --git a/src/ops.c b/src/ops.c
index bdc53de..4119356 100644
--- a/src/ops.c
+++ b/src/ops.c
@@ -6311,7 +6311,7 @@
     *wc += words;
 
     /* Add eol_size if the end of line was reached before hitting limit. */
-    if (line[i] == NUL && i < limit)
+    if (i < limit && line[i] == NUL)
     {
 	i += eol_size;
 	chars += eol_size;