summaryrefslogtreecommitdiff
path: root/pango/serializer.c
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2021-12-19 03:36:32 +0000
committerMatthias Clasen <mclasen@redhat.com>2021-12-19 03:36:32 +0000
commit5a67452459a06d3fa66b9eaff7de4806722b0937 (patch)
treedc2282df1f8c17eb2a76f8e58a29296a2d40a2a0 /pango/serializer.c
parent4620d50d7bfab138e230db7df38451473d8633b6 (diff)
parentaa52fa64716cf78b4df51dcedc5dc3bbbbe99aa8 (diff)
downloadpango-5a67452459a06d3fa66b9eaff7de4806722b0937.tar.gz
Merge branch 'misc-cleanups' into 'main'
serializer: Fix a typo Closes #646 See merge request GNOME/pango!559
Diffstat (limited to 'pango/serializer.c')
-rw-r--r--pango/serializer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pango/serializer.c b/pango/serializer.c
index 4780a633..2dab93b4 100644
--- a/pango/serializer.c
+++ b/pango/serializer.c
@@ -742,7 +742,7 @@ add_output (GtkJsonPrinter *printer,
pango_layout_get_size (layout, &width, &height);
gtk_json_printer_add_integer (printer, "width", width);
- gtk_json_printer_add_integer (printer, "height", width);
+ gtk_json_printer_add_integer (printer, "height", height);
add_log_attrs (printer, layout);
gtk_json_printer_start_array (printer, "lines");