aboutsummaryrefslogtreecommitdiff
path: root/server.c
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2020-05-19 16:51:56 +0000
committerDaniel Eklöf <daniel@ekloef.se>2020-05-19 16:51:56 +0000
commit483ea4ae73658b61ff6f680b022533e5f88eddd2 (patch)
treea9ece656c60783c8b19113df7707ccbdf9937d2c /server.c
parentselection: performance: check for < 0 or >= 0 instead of == -1 (diff)
scrolling: fix crash when offset was exactly at the wrap-around
When making sure we don't scroll past the scrollback history, and the current offset was exactly at the wrap around, the new view port was set to offset+1, which in this particular case meant outside the valid row numbers.
Diffstat (limited to 'server.c')
0 files changed, 0 insertions, 0 deletions