diff --git a/patch/openurlonclick.c b/patch/openurlonclick.c index 1e9a3db..8920359 100644 --- a/patch/openurlonclick.c +++ b/patch/openurlonclick.c @@ -45,7 +45,7 @@ findeowl(int row) void clearurl(void) { - while (url_y1 <= url_y2) + while (url_y1 <= url_y2 && url_y1 < term.row) term.dirty[url_y1++] = 1; url_y2 = -1; }