aboutsummaryrefslogtreecommitdiffstats
path: root/field.c
diff options
context:
space:
mode:
Diffstat (limited to 'field.c')
-rw-r--r--field.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/field.c b/field.c
index 09e06e9d..8ede8744 100644
--- a/field.c
+++ b/field.c
@@ -884,7 +884,7 @@ get_field(long requested, Func_ptr *assign)
* reference to the field and NF only gets set if the field
* is assigned to -- this case is handled below
*/
- if (parse_extent == fields_arr[0]->stptr + fields_arr[0]->stlen)
+ if (parse_extent >= fields_arr[0]->stptr + fields_arr[0]->stlen)
NF = parse_high_water;
if (requested == UNLIMITED - 1) /* UNLIMITED-1 means set NF */
requested = parse_high_water;