summaryrefslogtreecommitdiff
path: root/modules/khmer/khmer-fc.c
diff options
context:
space:
mode:
Diffstat (limited to 'modules/khmer/khmer-fc.c')
-rw-r--r--modules/khmer/khmer-fc.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/modules/khmer/khmer-fc.c b/modules/khmer/khmer-fc.c
index 9fd9bab5..82541e44 100644
--- a/modules/khmer/khmer-fc.c
+++ b/modules/khmer/khmer-fc.c
@@ -541,7 +541,8 @@ khmer_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;
buffer = pango_ot_buffer_new (fc_font);