projects
/
systemd
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
da8ea9a
)
format-table: when duplicating a cell, also copy the color
author
Lennart Poettering
<lennart@poettering.net>
Thu, 8 Nov 2018 20:16:23 +0000
(21:16 +0100)
committer
Lukáš Nykrýn
<lnykryn@redhat.com>
Fri, 3 May 2019 10:30:21 +0000
(12:30 +0200)
(cherry picked from commit
13b0d4d7bdb674d0e51a6d595abd1e7bf2691bf9
)
Related: #
1689832
src/basic/format-table.c
patch
|
blob
|
history
diff --git
a/src/basic/format-table.c
b/src/basic/format-table.c
index 94e796d1caac456f3de92fb4095ea2cd17f1de74..3429d9a071bcddc6ab88a97ff1c1ab9b89c2e525 100644
(file)
--- a/
src/basic/format-table.c
+++ b/
src/basic/format-table.c
@@
-414,6
+414,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;