aboutsummaryrefslogtreecommitdiff
path: root/src/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.c b/src/main.c
index b5eb616..4289f9f 100644
--- a/src/main.c
+++ b/src/main.c
@@ -28,7 +28,7 @@ static void open(GApplication *app, GFile **files, gint n_files,
int i = scan(curr_filename);
if (i < 0) {
printf("failed to load file\n");
- return;
+ quit();
}
i = load_image(curr_filename);