gui: clarify code, no functional change

This commit is contained in:
Wez Furlong committed 2022-02-06 07:29:07 -07:00
1 parent f89f2b5248
commit 52f3d6c0e5
1 file changed
+3 -1
+3 -1
View File
@@ -2165,7 +2165,7 @@ impl super::TermWindow {
// and render each of these strips
for range in [la, lb, lc, mid, ra, rb, rc] {
if range.start == range.end {
if range.is_empty() {
continue;
}
@@ -2195,6 +2195,8 @@ impl super::TermWindow {
});
if glyph_color == bg_color {
// Essentially invisible: don't render it, as anti-aliasing
// can cause a ghostly outline of the invisible glyph to appear.
continue;
}