aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPřemysl Eric Janouch <p@janouch.name>2022-01-08 11:23:36 +0100
committerPřemysl Eric Janouch <p@janouch.name>2022-01-08 11:23:36 +0100
commit24401825b4092514792b2ec747c42ed2ce95077f (patch)
treef98ddeae8e57192777311bfb5d731e7374137904
parent2bfb4907986f14e7b087d1372a8b641f40536846 (diff)
downloadsdn-24401825b4092514792b2ec747c42ed2ce95077f.tar.gz
sdn-24401825b4092514792b2ec747c42ed2ce95077f.tar.xz
sdn-24401825b4092514792b2ec747c42ed2ce95077f.zip
Add a missing case break
-rw-r--r--sdn.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/sdn.cpp b/sdn.cpp
index 294f15c..553191a 100644
--- a/sdn.cpp
+++ b/sdn.cpp
@@ -1421,6 +1421,7 @@ fun handle (wint_t c) -> bool {
break;
case ACTION_SCROLL_UP:
g.offset--;
+ break;
case ACTION_CENTER:
g.offset = g.cursor - (visible_lines () - 1) / 2;
break;