format-table: when duplicating a cell, also copy the color

This commit is contained in:
Lennart Poettering 2018-11-08 21:16:23 +01:00
parent 62d6a1cc9f
commit 13b0d4d7bd
1 changed files with 2 additions and 0 deletions

View File

@ -398,6 +398,8 @@ static int table_dedup_cell(Table *t, TableCell *cell) {
if (!nd)
return -ENOMEM;
nd->color = od->color;
table_data_unref(od);
t->data[i] = nd;