diff options
author | Carl Worth <cworth@cworth.org> | 2006-06-15 15:43:00 -0700 |
---|---|---|
committer | Carl Worth <cworth@cworth.org> | 2006-06-15 15:43:00 -0700 |
commit | abe1bfad8d8a3252bdc65da40bf303626881b163 (patch) | |
tree | fb619e763d0380e4ceed6b1a66b92176e4f3df54 /src/cairo-image-surface.c | |
parent | 9fa24975b4b9cc9983331991d2a3c53a37272162 (diff) |
Add missing breaks in switch statement.
Yes, I am an idiot.
Diffstat (limited to 'src/cairo-image-surface.c')
-rw-r--r-- | src/cairo-image-surface.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/cairo-image-surface.c b/src/cairo-image-surface.c index 5b6cc54cd..e94673c38 100644 --- a/src/cairo-image-surface.c +++ b/src/cairo-image-surface.c @@ -102,18 +102,21 @@ _cairo_format_from_pixman_format (pixman_format_t *pixman_format) gm == 0x0000ff00 && bm == 0x000000ff) return CAIRO_FORMAT_RGB24; + break; case 8: if (am == 0xff && rm == 0x0 && gm == 0x0 && bm == 0x0) return CAIRO_FORMAT_A8; + break; case 1: if (am == 0x1 && rm == 0x0 && gm == 0x0 && bm == 0x0) return CAIRO_FORMAT_A1; + break; } fprintf (stderr, |