aboutsummaryrefslogtreecommitdiff
path: root/main.c
diff options
context:
space:
mode:
authorHarry Jeffery <harry@exec64.co.uk>2015-11-06 11:09:56 +0000
committerHarry Jeffery <harry@exec64.co.uk>2015-11-06 11:09:56 +0000
commit132af1a065389b15cd28955abef99c910ae44807 (patch)
tree5df01f29440e2ebfebdb28aa477318b86e16188e /main.c
parent0ceb3c4fc1bd4999fcde1aaeb81f7e9bf847d032 (diff)
downloadimv-132af1a065389b15cd28955abef99c910ae44807.tar.gz
Add unsupported file warning
Diffstat (limited to 'main.c')
-rw-r--r--main.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/main.c b/main.c
index 2c8a09e..5057432 100644
--- a/main.c
+++ b/main.c
@@ -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;