Commit d9ccb3b485dfb40d654c979b58e60f8c6ffe1732

Con Kolivas 2012-01-19T19:56:24

Merge pull request #76 from luke-jr/ugly_display Restore old ugly inconsistent display of ADL information before the stan...

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
diff --git a/main.c b/main.c
index 51cfdb3..6a16eb2 100644
--- a/main.c
+++ b/main.c
@@ -5580,9 +5580,9 @@ static void get_opencl_statline_before(char *buf, struct cgpu_info *gpu)
 		int gp;
 
 		if (gt != -1)
-			tailsprintf(buf, " %5.1fC ", gt);
+			tailsprintf(buf, "%5.1fC ", gt);
 		else
-			tailsprintf(buf, "        ", gt);
+			tailsprintf(buf, "       ", gt);
 		if (gf != -1)
 			tailsprintf(buf, "%4dRPM ", gf);
 		else if ((gp = gpu_fanpercent(gpuid)) != -1)