listing/thread: fix wrong column index crash
columns[0] was jused in every for loop instead of columns[n], which would make the debug_assert_eq(area generation, column generation) panic Signed-off-by: Manos Pitsidianakis <manos@pitsidianak.is>pull/379/head
parent
11f3077b06
commit
8a16cf6db4
|
@ -1090,7 +1090,7 @@ impl ThreadListing {
|
|||
let columns = &mut self.data_columns.columns;
|
||||
for n in 0..=4 {
|
||||
let area = columns[n].area().nth_row(idx);
|
||||
columns[0].grid_mut().clear_area(area, row_attr);
|
||||
columns[n].grid_mut().clear_area(area, row_attr);
|
||||
}
|
||||
|
||||
*self.rows.entries.get_mut(idx).unwrap() = ((thread_hash, env_hash), strings);
|
||||
|
|
Loading…
Reference in New Issue