From: Arun Prakash Jana Date: Mon, 30 Sep 2019 21:25:40 +0000 (+0530) Subject: Fix crc8 match on range selection X-Git-Tag: v2.7~31 X-Git-Url: http://www.git.stargrave.org/?a=commitdiff_plain;h=afdec4a573d871ebc83d1ee7edd8dc3e737057b8;p=nnn.git Fix crc8 match on range selection --- 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();