commit c42a5ae12e9d407eca332c8545e825a5e2f048b2
parent a5a8e6dd454119a50488d7c81ac0df7666d8edfe
Author: Claudio Alessi <smoppy@gmail.com>
Date: Tue, 25 Jul 2017 19:30:04 +0200
Remove a now obsolete check.
Diffstat:
1 file changed, 0 insertions(+), 5 deletions(-)
diff --git a/circo.c b/circo.c
@@ -847,11 +847,6 @@ scroll(const Arg *arg) {
else if(sel->line > sel->nlines)
sel->line = sel->nlines;
sel->lnoff = bufinfo(sel->data, sel->len, sel->line, LineToOffset);
- if(sel->lnoff == -1) {
- die("This is a bug.\n"
- "len=%d line=%d size=%d lnoff=%d char='%c' nlines=%d\n",
- sel->len, sel->line, sel->size, sel->lnoff, sel->data[sel->lnoff], sel->nlines);
- }
sel->need_redraw = 1;
}