summaryrefslogtreecommitdiff
path: root/src/cairo-misc.c
diff options
context:
space:
mode:
authorBehdad Esfahbod <behdad@behdad.org>2008-06-23 17:53:25 -0400
committerBehdad Esfahbod <behdad@behdad.org>2008-06-23 17:53:25 -0400
commit498f3ddf2e8f6b7c381c7153cbd39fa22c32ceea (patch)
tree2c2e0625b4a7f9be9494965b2341ea337dc65126 /src/cairo-misc.c
parentce24588d1c5e82e598cdad68c910a64f64864c7b (diff)
Add status CAIRO_STATUS_NEGATIVE_COUNT
To be used for things like passing a negative number of glyphs to cairo_show_glyphs().
Diffstat (limited to 'src/cairo-misc.c')
-rw-r--r--src/cairo-misc.c2
1 files changed, 2 insertions, 0 deletions
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 "<unknown error status>";