summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorCarlos Garcia Campos <carlosgc@gnome.org>2007-11-06 12:23:32 +0100
committerCarlos Garcia Campos <carlosgc@annarchy.freedesktop.org>2007-11-06 06:07:11 -0800
commitc881467b74aec8e1b6988fc94b613366932f4d4a (patch)
tree20a17fdf5b1646ff1c65dfefa458ec257457448b /test
parent99c2311f470900798d283cc138325af92161dfb9 (diff)
Fix a crash in test when exporter fails
Diffstat (limited to 'test')
-rw-r--r--test/spectre-test.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/spectre-test.c b/test/spectre-test.c
index 77ca5f9..bea4b11 100644
--- a/test/spectre-test.c
+++ b/test/spectre-test.c
@@ -144,7 +144,7 @@ test_export (SpectreDocument *document,
if (status) {
printf ("Error exporting page %d as %s: %s\n", i, format_str,
spectre_status_to_string (status));
- continue;
+ break;
}
}