diff options
author | pdw <> | 2009-11-21 19:30:50 +0000 |
---|---|---|
committer | pdw <> | 2009-11-21 19:30:50 +0000 |
commit | d81065e8454275c1031dd278c6e40533f580359e (patch) | |
tree | 6cae2fbd79a2d10a85acefbefab3febfc61cf111 | |
parent | df5e85c7eb84949677c48e8f41ac0ec5200d4563 (diff) | |
download | iftop-d81065e8454275c1031dd278c6e40533f580359e.zip |
UI typo fixes from Gerben Roest <g.roest@grepit.nl>
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | ui.c | 12 |
2 files changed, 11 insertions, 7 deletions
@@ -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; |