summaryrefslogtreecommitdiff
path: root/test/any2ppm.c
diff options
context:
space:
mode:
authorM Joonas Pihlaja <jpihlaja@cc.helsinki.fi>2010-02-28 23:31:06 +0200
committerM Joonas Pihlaja <jpihlaja@cc.helsinki.fi>2010-03-01 01:21:31 +0200
commit5b7f4bb241f3191c1589cd714f373719efded56e (patch)
tree6eb5cf59bb1b3ac50304dc1a4465450e83e06517 /test/any2ppm.c
parent620cd9c2be4a6bef790e6818652470a5c53d578d (diff)
downloadcairo-5b7f4bb241f3191c1589cd714f373719efded56e.tar.gz
api: Introduce CAIRO_FORMAT_INVALID formally in the API.
We were exposing the actual value of CAIRO_FORMAT_INVALID through API functions already, so it makes sense to just go ahead and put it in the cairo_format_t enum.
Diffstat (limited to 'test/any2ppm.c')
-rw-r--r--test/any2ppm.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/any2ppm.c b/test/any2ppm.c
index 4d215e082..a7bb49a67 100644
--- a/test/any2ppm.c
+++ b/test/any2ppm.c
@@ -191,6 +191,7 @@ write_ppm (cairo_surface_t *surface, int fd)
format_str = "P5";
break;
case CAIRO_FORMAT_A1:
+ case CAIRO_FORMAT_INVALID:
default:
return "unhandled image format";
}