]> git.ipfire.org Git - thirdparty/mtr.git/commitdiff
Made the '?' bold-red
authorDerek J. Balling <derek.balling@announcemedia.com>
Sun, 13 Jul 2014 20:21:39 +0000 (16:21 -0400)
committerDerek J. Balling <derek.balling@announcemedia.com>
Sun, 13 Jul 2014 20:21:39 +0000 (16:21 -0400)
curses.c

index abcee92e23c2e344c79c519b1b0defb2e16ac16d..41229e63f9792850a61c179cb39991f5ecc778ae 100644 (file)
--- a/curses.c
+++ b/curses.c
@@ -528,9 +528,9 @@ void mtr_fill_graph(int at, int cols)
                if (saved[i] == -2) {
                        printw(" ");
                } else if (saved[i] == -1) {
-                       attron(A_BOLD);
+                       attrset(COLOR_PAIR(2)|A_BOLD);
                        printw("?");
-                       attroff(A_BOLD);
+                       attrset(A_NORMAL);
                } else {
                        if (display_mode == 1) {
                                if (saved[i] > scale[6]) {