1
0
mirror of https://github.com/GOSTSec/sgminer synced 2025-03-09 20:21:01 +00:00

Restore old ugly inconsistent display of ADL information before the standard info

This commit is contained in:
Luke Dashjr 2012-01-19 22:54:22 -05:00
parent 35f676b02d
commit dfeb1ef594

4
main.c
View File

@ -5580,9 +5580,9 @@ static void get_opencl_statline_before(char *buf, struct cgpu_info *gpu)
int gp; int gp;
if (gt != -1) if (gt != -1)
tailsprintf(buf, " %5.1fC ", gt); tailsprintf(buf, "%5.1fC ", gt);
else else
tailsprintf(buf, " ", gt); tailsprintf(buf, " ", gt);
if (gf != -1) if (gf != -1)
tailsprintf(buf, "%4dRPM ", gf); tailsprintf(buf, "%4dRPM ", gf);
else if ((gp = gpu_fanpercent(gpuid)) != -1) else if ((gp = gpu_fanpercent(gpuid)) != -1)