summaryrefslogtreecommitdiff
path: root/pango/break.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/break.c
parent9681fa2ca8dfeb570471a3828e5b6aee4253025c (diff)
downloadpango-0de37310ff335d49d8003dfb4008932142ec2bde.tar.gz
Use g_unichar_get_script directly
Instead of going through a wrapper.
Diffstat (limited to 'pango/break.c')
-rw-r--r--pango/break.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pango/break.c b/pango/break.c
index 27857c02..1cc735cf 100644
--- a/pango/break.c
+++ b/pango/break.c
@@ -743,7 +743,7 @@ pango_default_break (const gchar *text,
PangoScript script;
WordBreakType WB_type;
- script = pango_script_for_unichar (wc);
+ script = g_unichar_get_script (wc);
/* Find the WordBreakType of wc */
WB_type = WB_Other;