summaryrefslogtreecommitdiff
path: root/pango
diff options
context:
space:
mode:
authorHugo Herbelin <Hugo.Herbelin@inria.fr>2022-10-04 13:02:00 +0200
committerHugo Herbelin <Hugo.Herbelin@inria.fr>2022-10-04 13:35:06 +0200
commitfb33863258a3c0fa9e981374dffbfce333c0e50f (patch)
treece6157808d36b524e6c846247b2def8d5b81bb72 /pango
parentb02a13ffae3c2ead604bb2786a805f036a5a0f49 (diff)
downloadpango-fb33863258a3c0fa9e981374dffbfce333c0e50f.tar.gz
Fixes typo in MR GNOME/pango!502 (commit 050e321e) (ct_weight -> pango_weight).
See #705 and also https://gitlab.gnome.org/GNOME/gtk/-/issues/5226.
Diffstat (limited to 'pango')
-rw-r--r--pango/pangocoretext-fontmap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pango/pangocoretext-fontmap.c b/pango/pangocoretext-fontmap.c
index e090bfc4..6e59a4f9 100644
--- a/pango/pangocoretext-fontmap.c
+++ b/pango/pangocoretext-fontmap.c
@@ -328,7 +328,7 @@ ct_font_descriptor_get_weight (CTFontDescriptorRef desc)
if (!(value >= ct_weight_min && value <= ct_weight_max))
{
i = value > ct_weight_max ? G_N_ELEMENTS (ct_weight_map) - 1 : 0;
- weight = ct_weight_map[i].ct_weight;
+ weight = ct_weight_map[i].pango_weight;
}
else
{