Commit d81065e8 authored by pdw's avatar pdw

UI typo fixes from Gerben Roest <g.roest@grepit.nl>

parent df5e85c7
......@@ -4,10 +4,14 @@ $Id$
Attributions apply to all preceding items up to the next blank line.
Unattributed items are by Paul Warren and Chris Lightfoot.
0.18
* Various typos in the UI
Gerben Roest <g.roest@grepit.nl>
0.17 12/02/06
* Display top scale in bytes when measuring in bytes
Marcin Kryczek <mkay@gentoo.org>
0.17
* Added support for ppp interfaces on FreeBSD (and others using DLT_PPP)
* Fixed segfault bug in config file handling.
......
......@@ -38,7 +38,7 @@
" s - toggle show source host h - toggle this help display\n"\
" d - toggle show destination host b - toggle bar graph display\n"\
" t - cycle line display mode B - cycle bar graph average\n"\
" T - toggle cummulative line totals\n"\
" T - toggle cumulative line totals\n"\
"Port display: j/k - scroll display\n"\
" N - toggle service resolution f - edit filter code\n"\
" S - toggle show source port l - set screen filter\n"\
......@@ -58,8 +58,8 @@
int history_divs[HISTORY_DIVISIONS] = {1, 5, 20};
#define UNIT_DIVISIONS 4
char* unit_bits[UNIT_DIVISIONS] = { "b", "Kb", "Mb", "Gb"};
char* unit_bytes[UNIT_DIVISIONS] = { "B", "KB", "MB", "GB"};
char* unit_bits[UNIT_DIVISIONS] = { "b", "kb", "Mb", "Gb"};
char* unit_bytes[UNIT_DIVISIONS] = { "B", "kB", "MB", "GB"};
typedef struct host_pair_line_tag {
addr_pair ap;
......@@ -693,7 +693,7 @@ void ui_print() {
mvaddstr(y+2, 0, "TOTAL: ");
/* Cummulative totals */
mvaddstr(y, 16, "cumm: ");
mvaddstr(y, 16, "cum: ");
readable_size(history_totals.total_sent, line, 10, 1024, 1);
mvaddstr(y, 22, line);
......@@ -1082,10 +1082,10 @@ void ui_loop() {
case 'T':
options.show_totals = !options.show_totals;
if(options.show_totals) {
showhelp("Show cummulative totals");
showhelp("Show cumulative totals");
}
else {
showhelp("Hide cummulative totals");
showhelp("Hide cumulative totals");
}
ui_print();
break;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment