Skip to content

Commit

Permalink
StatusBar: remove duplicate code
Browse files Browse the repository at this point in the history
  • Loading branch information
MaxKellermann committed Sep 2, 2024
1 parent 5e0a266 commit 6c6a4e2
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions src/StatusBar.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -241,11 +241,6 @@ StatusBar::Paint() const noexcept
window.String({(int)left_width, 0}, center_text);
}

/* display time string */
int x = window_width - right_width;
SelectStyle(window, Style::STATUS_TIME);
window.String({x, 0}, right_text);

window.RefreshNoOut();
}

Expand Down

0 comments on commit 6c6a4e2

Please sign in to comment.