4bff0a
From f18db51fffbcecc2d7a30b2317c8a7a43b613757 Mon Sep 17 00:00:00 2001
4bff0a
From: Lennart Poettering <lennart@poettering.net>
4bff0a
Date: Thu, 8 Nov 2018 21:16:23 +0100
4bff0a
Subject: [PATCH] format-table: when duplicating a cell, also copy the color
4bff0a
4bff0a
(cherry picked from commit 13b0d4d7bdb674d0e51a6d595abd1e7bf2691bf9)
4bff0a
4bff0a
Related: #1689832
4bff0a
---
4bff0a
 src/basic/format-table.c | 2 ++
4bff0a
 1 file changed, 2 insertions(+)
4bff0a
4bff0a
diff --git a/src/basic/format-table.c b/src/basic/format-table.c
4bff0a
index 94e796d1ca..3429d9a071 100644
4bff0a
--- a/src/basic/format-table.c
4bff0a
+++ b/src/basic/format-table.c
4bff0a
@@ -414,6 +414,8 @@ static int table_dedup_cell(Table *t, TableCell *cell) {
4bff0a
         if (!nd)
4bff0a
                 return -ENOMEM;
4bff0a
 
4bff0a
+        nd->color = od->color;
4bff0a
+
4bff0a
         table_data_unref(od);
4bff0a
         t->data[i] = nd;
4bff0a