summaryrefslogtreecommitdiff
path: root/backend/comics
diff options
context:
space:
mode:
authorZenWalker <[email protected]>2017-07-19 11:00:09 +0200
committerraveit65 <[email protected]>2017-07-21 20:08:30 +0200
commitf4291fd62f7dfe6460d2406a979ccfac0c68dd59 (patch)
tree6726e17359d1a9c8e8ef15af61514bcbb41af956 /backend/comics
parent3fa7dc556be3395ae5b3273568426beb4416bd40 (diff)
downloadatril-f4291fd62f7dfe6460d2406a979ccfac0c68dd59.tar.bz2
atril-f4291fd62f7dfe6460d2406a979ccfac0c68dd59.tar.xz
comics: make the files containing "--checkpoint-action=" unsupported
Fixes #257
Diffstat (limited to 'backend/comics')
-rw-r--r--backend/comics/comics-document.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/backend/comics/comics-document.c b/backend/comics/comics-document.c
index 9f945c6f..4d4d2939 100644
--- a/backend/comics/comics-document.c
+++ b/backend/comics/comics-document.c
@@ -983,6 +983,12 @@ extract_argv (EvDocument *document, gint page)
char *command_line, *quoted_archive, *quoted_filename;
GError *err = NULL;
+ if (g_strrstr (comics_document->page_names->pdata[page], "--checkpoint-action="))
+ {
+ g_warning ("File unsupported\n");
+ gtk_main_quit ();
+ }
+
if (page >= comics_document->page_names->len)
return NULL;