From afdec4a573d871ebc83d1ee7edd8dc3e737057b8 Mon Sep 17 00:00:00 2001 From: Arun Prakash Jana Date: Tue, 1 Oct 2019 02:55:40 +0530 Subject: [PATCH] Fix crc8 match on range selection --- src/nnn.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/nnn.c b/src/nnn.c index a5d8792c..422e13fc 100644 --- a/src/nnn.c +++ b/src/nnn.c @@ -4095,9 +4095,8 @@ nochange: startselection(); rangesel ^= 1; - g_crc = crc8fast((uchar *)dents, ndents * sizeof(struct entry)); - if (rangesel) { /* Range selection started */ + g_crc = crc8fast((uchar *)dents, ndents * sizeof(struct entry)); selstartid = cur; mvprintw(xlines - 1, 0, "range selection on\n"); xdelay();