diff options
author | Matthias Clasen <mclasen@redhat.com> | 2021-12-18 19:28:44 -0500 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2021-12-18 22:26:32 -0500 |
commit | 3bcc08d389399b917c58bd70f6807c26f643ed32 (patch) | |
tree | 1e7c5c28df6012cb712da128dd7b8ad1ff4283b0 /pango | |
parent | 4620d50d7bfab138e230db7df38451473d8633b6 (diff) | |
download | pango-3bcc08d389399b917c58bd70f6807c26f643ed32.tar.gz |
serializer: Fix a typo
Oops, we were not serializing the height at all.
Update all affected tests.
Diffstat (limited to 'pango')
-rw-r--r-- | pango/serializer.c | 2 |
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"); |