summaryrefslogtreecommitdiff
path: root/pango/shape.c
diff options
context:
space:
mode:
Diffstat (limited to 'pango/shape.c')
-rw-r--r--pango/shape.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/pango/shape.c b/pango/shape.c
index 932b5654..4d6291c4 100644
--- a/pango/shape.c
+++ b/pango/shape.c
@@ -52,4 +52,6 @@ void pango_shape (const gchar *text,
glyphs->log_clusters[0] = 0;
}
+
+ g_assert (glyphs->num_glyphs > 0);
}