diff options
author | ZenWalker <[email protected]> | 2017-07-19 11:00:09 +0200 |
---|---|---|
committer | raveit65 <[email protected]> | 2017-07-22 11:37:30 +0200 |
commit | 213c8788cc33ac925bb50bee38b8abdfb3c24002 (patch) | |
tree | ba4e8dc590fcd780edcd2ce176cfb7f528736f84 | |
parent | 8a476dc95618c510e5143e91e6863e026cd206dc (diff) | |
download | atril-213c8788cc33ac925bb50bee38b8abdfb3c24002.tar.bz2 atril-213c8788cc33ac925bb50bee38b8abdfb3c24002.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; |