Skip to content

Commit

Permalink
Unify variable names
Browse files Browse the repository at this point in the history
  • Loading branch information
noborus committed Dec 23, 2024
1 parent 3e2a684 commit 23be1cf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions oviewer/draw.go
Original file line number Diff line number Diff line change
Expand Up @@ -312,8 +312,8 @@ func (root *Root) applyMarkStyle(lN int, y int, width int) {
// applyStyleToRange applies the style from the start to the end of the physical line.
func (root *Root) applyStyleToRange(y int, s OVStyle, start int, end int) {
for x := start; x < end; x++ {
r, c, ts, _ := root.GetContent(x, y)
root.Screen.SetContent(x, y, r, c, applyStyle(ts, s))
mainc, combc, style, _ := root.GetContent(x, y)
root.Screen.SetContent(x, y, mainc, combc, applyStyle(style, s))
}
}

Expand Down

0 comments on commit 23be1cf

Please sign in to comment.