summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorpdw <>2009-11-21 19:30:50 +0000
committerpdw <>2009-11-21 19:30:50 +0000
commitd81065e8454275c1031dd278c6e40533f580359e (patch)
tree6cae2fbd79a2d10a85acefbefab3febfc61cf111
parentdf5e85c7eb84949677c48e8f41ac0ec5200d4563 (diff)
downloadiftop-d81065e8454275c1031dd278c6e40533f580359e.zip
UI typo fixes from Gerben Roest <g.roest@grepit.nl>
-rw-r--r--ChangeLog6
-rw-r--r--ui.c12
2 files changed, 11 insertions, 7 deletions
diff --git a/ChangeLog b/ChangeLog
index c8a53e9..323fa1b 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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.
diff --git a/ui.c b/ui.c
index 2ac540b..bb1aa76 100644
--- a/ui.c
+++ b/ui.c
@@ -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;