Fixed order freezing bug.
This commit is contained in:
1
CHANGES
1
CHANGES
@@ -5,6 +5,7 @@ $Id$
|
|||||||
|
|
||||||
Added 1-line display options.
|
Added 1-line display options.
|
||||||
Added display scrolling.
|
Added display scrolling.
|
||||||
|
Fixed code for obtaining hardware address (on Linux at least)
|
||||||
|
|
||||||
0.11 08/01/03
|
0.11 08/01/03
|
||||||
|
|
||||||
|
|||||||
11
ui.c
11
ui.c
@@ -379,7 +379,12 @@ void make_screen_list() {
|
|||||||
line->sent[i] /= history_length(i);
|
line->sent[i] /= history_length(i);
|
||||||
}
|
}
|
||||||
|
|
||||||
sorted_list_insert(&screen_list, line);
|
/* Don't make a new, sorted screen list if order is frozen
|
||||||
|
*/
|
||||||
|
if(!options.freezeorder) {
|
||||||
|
sorted_list_insert(&screen_list, line);
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -464,9 +469,7 @@ void analyse_data() {
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if(!options.freezeorder) {
|
make_screen_list();
|
||||||
make_screen_list();
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
calculate_totals();
|
calculate_totals();
|
||||||
|
|||||||
Reference in New Issue
Block a user