dissect-tool: right-align the partition number
The right-alignment was applied to the wrong column, because neitheree8e497d24nor1474d7ac2dupdated the column count as they should have.
This commit is contained in:
committed by
Luca Boccassi
parent
38e1035bef
commit
748e87a791
@@ -960,7 +960,7 @@ static int action_dissect(DissectedImage *m, LoopDevice *d) {
|
||||
return log_oom();
|
||||
|
||||
table_set_ersatz_string(t, TABLE_ERSATZ_DASH);
|
||||
(void) table_set_align_percent(t, table_get_cell(t, 0, 7), 100);
|
||||
(void) table_set_align_percent(t, table_get_cell(t, 0, 9), 100);
|
||||
|
||||
for (PartitionDesignator i = 0; i < _PARTITION_DESIGNATOR_MAX; i++) {
|
||||
DissectedPartition *p = m->partitions + i;
|
||||
|
||||
Reference in New Issue
Block a user