diff options
author | ZenWalker <[email protected]> | 2017-07-19 11:00:09 +0200 |
---|---|---|
committer | raveit65 <[email protected]> | 2017-07-21 20:08:30 +0200 |
commit | f4291fd62f7dfe6460d2406a979ccfac0c68dd59 (patch) | |
tree | 6726e17359d1a9c8e8ef15af61514bcbb41af956 | |
parent | 3fa7dc556be3395ae5b3273568426beb4416bd40 (diff) | |
download | atril-f4291fd62f7dfe6460d2406a979ccfac0c68dd59.tar.bz2 atril-f4291fd62f7dfe6460d2406a979ccfac0c68dd59.tar.xz |
comics: make the files containing "--checkpoint-action=" unsupported
Fixes #257
-rw-r--r-- | backend/comics/comics-document.c | 6 |
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; |