Commit e24fb75dddbb390159fa095bc38dc231250e4a7b

Con Kolivas 2014-03-28T17:22:28

Left align the displayed unique id

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/cgminer.c b/cgminer.c
index d7a5432..61de1c9 100644
--- a/cgminer.c
+++ b/cgminer.c
@@ -2716,7 +2716,7 @@ static void curses_print_devstatus(struct cgpu_info *cgpu, int devno, int count)
 		strncpy(unique_id, cgpu->unique_id, 8);
 	} else
 		sprintf(unique_id, "%-8d", cgpu->device_id);
-	cg_wprintw(statuswin, " %*d: %s %8s: ", devno_width, devno, cgpu->drv->name,
+	cg_wprintw(statuswin, " %*d: %s %-8s: ", devno_width, devno, cgpu->drv->name,
 		   unique_id);
 	logline[0] = '\0';
 	cgpu->drv->get_statline_before(logline, sizeof(logline), cgpu);