summaryrefslogtreecommitdiffstats
path: root/src/canvas.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/canvas.rs')
-rw-r--r--src/canvas.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/canvas.rs b/src/canvas.rs
index 7e13dd8f..cb35d723 100644
--- a/src/canvas.rs
+++ b/src/canvas.rs
@@ -251,7 +251,7 @@ pub fn draw_data<B : backend::Backend>(terminal : &mut Terminal<B>, app_state :
if app_state.currently_selected_process_position < num_rows {
0
}
- else if app_state.currently_selected_process_position - num_rows <= app_state.previous_process_position {
+ else if app_state.currently_selected_process_position - num_rows < app_state.previous_process_position {
app_state.previous_process_position
}
else {