[pango/pango2: 58/135] layout: don't forget spacing in copy()
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [pango/pango2: 58/135] layout: don't forget spacing in copy()
- Date: Fri, 18 Feb 2022 20:11:00 +0000 (UTC)
commit 0bf1e8b480ebbac523e0034fb52b13440a777281
Author: Matthias Clasen <mclasen redhat com>
Date: Mon Jan 24 12:51:04 2022 -0500
layout: don't forget spacing in copy()
pango/pango-layout.c | 1 +
1 file changed, 1 insertion(+)
---
diff --git a/pango/pango-layout.c b/pango/pango-layout.c
index 5f668106..43c7d9ad 100644
--- a/pango/pango-layout.c
+++ b/pango/pango-layout.c
@@ -833,6 +833,7 @@ pango_layout_copy (PangoLayout *layout)
if (layout->font_desc)
copy->font_desc = pango_font_description_copy (layout->font_desc);
copy->line_height = layout->line_height;
+ copy->spacing = layout->spacing;
copy->width = layout->width;
copy->height = layout->height;
if (layout->tabs)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]