summaryrefslogtreecommitdiff
path: root/pango/break.c
diff options
context:
space:
mode:
Diffstat (limited to 'pango/break.c')
-rw-r--r--pango/break.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/pango/break.c b/pango/break.c
index d49c242e..491e936f 100644
--- a/pango/break.c
+++ b/pango/break.c
@@ -1306,8 +1306,8 @@ pango_break (const gchar *text,
length = strlen (text);
if (analysis->lang_engine &&
- analysis->lang_engine->script_break)
- (* analysis->lang_engine->script_break) (text, length, analysis, attrs, attrs_len);
+ PANGO_ENGINE_LANG_CLASS (analysis->lang_engine)->script_break)
+ PANGO_ENGINE_LANG_CLASS (analysis->lang_engine)->script_break (analysis->lang_engine, text, length, analysis, attrs, attrs_len);
else
pango_default_break (text, length, analysis, attrs, attrs_len);
}