From 498f3ddf2e8f6b7c381c7153cbd39fa22c32ceea Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Mon, 23 Jun 2008 17:53:25 -0400 Subject: Add status CAIRO_STATUS_NEGATIVE_COUNT To be used for things like passing a negative number of glyphs to cairo_show_glyphs(). --- src/cairo-misc.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/cairo-misc.c') diff --git a/src/cairo-misc.c b/src/cairo-misc.c index 02c88737..e2b7cf77 100644 --- a/src/cairo-misc.c +++ b/src/cairo-misc.c @@ -107,6 +107,8 @@ cairo_status_to_string (cairo_status_t status) return "the user-font is immutable"; case CAIRO_STATUS_USER_FONT_ERROR: return "error occurred in a user-font callback function"; + case CAIRO_STATUS_NEGATIVE_COUNT: + return "negative number used where it is not allowed"; } return ""; -- cgit v1.2.3