From 3b2010200d41b26920a54c1ad1be2961d1759850 Mon Sep 17 00:00:00 2001 From: Jfreegman Date: Wed, 2 Apr 2014 04:59:51 -0400 Subject: [PATCH] possibly fix scrolling bug --- src/line_info.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/line_info.h b/src/line_info.h index 2ed2001..7357476 100644 --- a/src/line_info.h +++ b/src/line_info.h @@ -41,7 +41,7 @@ struct line_info { uint8_t bold; uint8_t colour; uint32_t id; - int len; /* combined len of all strings */ + uint16_t len; /* combined len of all strings */ struct line_info *prev; struct line_info *next; @@ -57,8 +57,8 @@ struct history { bool scroll_mode; /* keeps track of lines added between window refreshes */ - uint8_t queue; - uint8_t queue_lns; + uint32_t queue; + uint32_t queue_lns; }; /* adds a line to history (also moves line_start and/or line_root forward if necessary) */