Commit ab67b14460a5e245761dcf6db03b35c1e95df742

Con Kolivas 2011-09-09T12:01:06

Make RPM 4 characters wide in curses status for neatness.

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/main.c b/main.c
index 8645483..1074480 100644
--- a/main.c
+++ b/main.c
@@ -1896,7 +1896,7 @@ static void curses_print_devstatus(int thr_id)
 			if (gt != -1)
 				wprintw(statuswin, "%.1fC ", gt);
 			if (gf != -1)
-				wprintw(statuswin, "%dRPM ", gf);
+				wprintw(statuswin, "%4dRPM ", gf);
 			if (gt || gf)
 				wprintw(statuswin, "| ");
 		}