From 3083f1a3833de3ed996fc6cf9e29393320152098 Mon Sep 17 00:00:00 2001 From: Brenden Matthews Date: Mon, 19 Sep 2022 10:57:10 -0500 Subject: [PATCH] This does nothing. --- src/scroll.cc | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/scroll.cc b/src/scroll.cc index bec15695..c46a7297 100644 --- a/src/scroll.cc +++ b/src/scroll.cc @@ -44,8 +44,6 @@ inline int scroll_character_length(char c) { auto uc = static_cast(c); int len = 0; - if (c == -1) { return 1; } - if ((uc & 0x80) == 0) { return 1; } while (len < 7 && (uc & (0x80 >> len)) != 0) { ++len; }