aboutsummaryrefslogtreecommitdiff
path: root/map.c
diff options
context:
space:
mode:
authorMarc André Tanner <mat@brain-dump.org>2020-01-23 14:46:30 +0100
committerMarc André Tanner <mat@brain-dump.org>2020-01-23 14:46:30 +0100
commitfbc6bb06953868562c8cac805c0997cd3a8e8ef9 (patch)
tree007bce76092b38364ac3f2247cd0555c8295a1f9 /map.c
parent886a5ed603df862a26f0d6d78d6c8dd161623738 (diff)
downloadvis-fbc6bb06953868562c8cac805c0997cd3a8e8ef9.tar.gz
vis-fbc6bb06953868562c8cac805c0997cd3a8e8ef9.tar.xz
text: fix search wrapping for overlapping matches
Previously, searches wrapping around did not report any results if they started from within the eventual match. Fix this by enlarging the search area to the whole text after reaching the first boundary. See also #787.
Diffstat (limited to 'map.c')
0 files changed, 0 insertions, 0 deletions