Browse Source

* Fix a crash in export.c with unknown file formats.

tags/v0.99.beta14
Sam Hocevar sam 18 years ago
parent
commit
514bbb3859
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      test/export.c

+ 1
- 1
test/export.c View File

@@ -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);


Loading…
Cancel
Save