summaryrefslogtreecommitdiff
path: root/modules/indic/indic-fc.c
diff options
context:
space:
mode:
Diffstat (limited to 'modules/indic/indic-fc.c')
-rw-r--r--modules/indic/indic-fc.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/modules/indic/indic-fc.c b/modules/indic/indic-fc.c
index 3011a66a..4947b5b5 100644
--- a/modules/indic/indic-fc.c
+++ b/modules/indic/indic-fc.c
@@ -344,7 +344,8 @@ indic_engine_shape (PangoEngineShape *engine,
fc_font = PANGO_FC_FONT (font);
face = pango_fc_font_lock_face (fc_font);
- g_return_if_fail (face != NULL);
+ if (!face)
+ return;
indic_shape_engine = (IndicEngineFc *) engine;