From 24401825b4092514792b2ec747c42ed2ce95077f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?P=C5=99emysl=20Eric=20Janouch?= Date: Sat, 8 Jan 2022 11:23:36 +0100 Subject: [PATCH] Add a missing case break --- sdn.cpp | 1 + 1 file changed, 1 insertion(+) 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;