diff --git a/test/export.c b/test/export.c index 6e5ddf4..81d0847 100644 --- a/test/export.c +++ b/test/export.c @@ -84,7 +84,7 @@ int main(int argc, char *argv[]) exit(-1); } cv = cucul_import_canvas(tmp, ""); - if(!tmp) + if(!cv) { fprintf(stderr, "%s: `%s' has unknown format\n", argv[0], file); exit(-1);