|
|
@ -412,6 +412,11 @@ main(int argc, char *argv[]) |
|
|
|
int i; |
|
|
|
int i; |
|
|
|
int image_counter = 0; |
|
|
|
int image_counter = 0; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if (argc <= 1 || argv[1][0]=='-') { |
|
|
|
|
|
|
|
printf("Usage: %s image...\n", argv[0]); |
|
|
|
|
|
|
|
return 1; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
d = display_create(&argc, argv); |
|
|
|
d = display_create(&argc, argv); |
|
|
|
if (d == NULL) { |
|
|
|
if (d == NULL) { |
|
|
|
fprintf(stderr, "failed to create display: %m\n"); |
|
|
|
fprintf(stderr, "failed to create display: %m\n"); |
|
|
|