summaryrefslogtreecommitdiff
path: root/backend/comics/comics-document.c
diff options
context:
space:
mode:
authormonsta <[email protected]>2016-07-28 14:35:50 +0300
committermonsta <[email protected]>2016-07-28 14:35:50 +0300
commit164a3114970af7d56ddf4d4223fbe51ed46b59ed (patch)
treebbab0cee94eb7512ce8575206e6bee7e4baa4ccb /backend/comics/comics-document.c
parent8f79309e3d35b957eb14df35cbd80e13a000262b (diff)
downloadatril-164a3114970af7d56ddf4d4223fbe51ed46b59ed.tar.bz2
atril-164a3114970af7d56ddf4d4223fbe51ed46b59ed.tar.xz
comics: properly open files with special characters in path
from https://git.gnome.org/browse/evince/commit/?id=c648cb2aa38c5004fc091d0067d63aa3beee748f
Diffstat (limited to 'backend/comics/comics-document.c')
-rw-r--r--backend/comics/comics-document.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/backend/comics/comics-document.c b/backend/comics/comics-document.c
index 12ded35e..466938f5 100644
--- a/backend/comics/comics-document.c
+++ b/backend/comics/comics-document.c
@@ -959,7 +959,7 @@ extract_argv (EvDocument *document, gint page)
return NULL;
if (comics_document->regex_arg) {
- quoted_archive = comics_regex_quote (comics_document->archive);
+ quoted_archive = g_shell_quote (comics_document->archive);
quoted_filename =
comics_regex_quote (comics_document->page_names->pdata[page]);
} else {