Add unsupported file warning

This commit is contained in:
Harry Jeffery 2015-11-06 11:09:56 +00:00
parent 0ceb3c4fc1
commit 132af1a065

1
main.c
View file

@ -189,6 +189,7 @@ int main(int argc, char** argv)
}
img = imv_load_image(renderer, g_path.cur->path);
if(img == NULL) {
fprintf(stderr, "Ignoring unsupported file: %s\n", g_path.cur->path);
remove_current_path();
} else {
g_path.reload = 0;