From 1002844098d3ab506d2979e487a8d3fd58307c8d Mon Sep 17 00:00:00 2001 From: Llywelwyn Date: Thu, 17 Aug 2023 08:37:40 +0100 Subject: [PATCH] cleans up comment --- src/gamelog/logstore.rs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/gamelog/logstore.rs b/src/gamelog/logstore.rs index 3cd3b45..ae3299f 100644 --- a/src/gamelog/logstore.rs +++ b/src/gamelog/logstore.rs @@ -39,9 +39,7 @@ pub fn print_log(console: &mut Box, pos: Point, _descending: bool, let parts = frag.text.split(""); for part in parts { // This is an extremely hacky solution to a problem I don't understand yet. - // It is essentially just a filter to ignore every character which wont be - // drawn to the screen. The -2 is to exclude the always-present space, and - // blank character at the end of every fragment. + // -- without this, the lines *here* and the line count *above* wont match. if part == "" || part == "\\" { continue; }