summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorM Joonas Pihlaja <jpihlaja@cc.helsinki.fi>2009-02-17 03:35:01 +0200
committerM Joonas Pihlaja <jpihlaja@cc.helsinki.fi>2009-02-17 03:35:01 +0200
commit6a508112b81683d5a615e54f798d59a4bcd09506 (patch)
treece2ea7f74031f7b0ae6e8d2f54fbe6b679733e5a
parent178ecb6201c88e2e1c02d5b6a94c42a32c4adc9f (diff)
[gears] Don't forget to exit on format mismatch errors.
-rw-r--r--gears.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gears.c b/gears.c
index 1bef6d1..9016c14 100644
--- a/gears.c
+++ b/gears.c
@@ -381,6 +381,7 @@ event_loop (unsigned flags, int width, int height)
if (status != CAIRO_STATUS_SUCCESS) {
fprintf (stderr, "Failed to render: %s\n",
cairo_status_to_string (status));
+ exit (1);
}
push_expose (); /* Schedule another expose soon, */