always print an error message if an image cannot be opened
SVN revision: 12237
This commit is contained in:
parent
36b2e5d51a
commit
fd7e6bcbc1
|
@ -125,7 +125,10 @@ main(int argc, char **argv)
|
|||
{
|
||||
no++;
|
||||
if (no == argc)
|
||||
exit(0);
|
||||
{
|
||||
fprintf(stderr, "Image format not available\n");
|
||||
exit(0);
|
||||
}
|
||||
file = argv[no];
|
||||
image_width = 0;
|
||||
im = imlib_load_image(file);
|
||||
|
|
Loading…
Reference in New Issue