summaryrefslogtreecommitdiff
path: root/pango/pango-script.c
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2015-09-12 18:13:40 -0400
committerMatthias Clasen <mclasen@redhat.com>2015-09-12 18:14:43 -0400
commit0de37310ff335d49d8003dfb4008932142ec2bde (patch)
tree8fc84ee0a98715825e5b7ca37e09551d57cc3aec /pango/pango-script.c
parent9681fa2ca8dfeb570471a3828e5b6aee4253025c (diff)
downloadpango-0de37310ff335d49d8003dfb4008932142ec2bde.tar.gz
Use g_unichar_get_script directly
Instead of going through a wrapper.
Diffstat (limited to 'pango/pango-script.c')
-rw-r--r--pango/pango-script.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pango/pango-script.c b/pango/pango-script.c
index e8924403..43be3fa0 100644
--- a/pango/pango-script.c
+++ b/pango/pango-script.c
@@ -266,7 +266,7 @@ pango_script_iter_next (PangoScriptIter *iter)
PangoScript sc;
int pair_index;
- sc = pango_script_for_unichar (ch);
+ sc = g_unichar_get_script (ch);
if (sc != PANGO_SCRIPT_COMMON)
pair_index = -1;
else