mirror of
https://github.com/mintycube/st.git
synced 2024-10-22 14:05:49 +02:00
openurlonclick: fix for edge case that can cause a crash
This commit is contained in:
parent
b12cd70e8b
commit
2eca262969
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user