[evince] comics: Don't strip filenames in archive
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evince] comics: Don't strip filenames in archive
- Date: Sat, 22 Jul 2017 13:03:39 +0000 (UTC)
commit 9a407f1dd6fdd2b325a39484bf00b38e8dce09a9
Author: Bastien Nocera <hadess hadess net>
Date: Sat Jul 22 14:59:12 2017 +0200
comics: Don't strip filenames in archive
This was useful when parsing command-line outputs but makes no sense
since we switched to using libarchive/unarr, and would actually break
support for filenames in the archive that have leading or trailing
spaces.
https://bugzilla.gnome.org/show_bug.cgi?id=784963
backend/comics/comics-document.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/backend/comics/comics-document.c b/backend/comics/comics-document.c
index a913641..acbdeb3 100644
--- a/backend/comics/comics-document.c
+++ b/backend/comics/comics-document.c
@@ -215,7 +215,7 @@ comics_document_load (EvDocument *document,
if (g_slist_find_custom (supported_extensions, suffix,
(GCompareFunc) strcmp) != NULL) {
g_ptr_array_add (comics_document->page_names,
- g_strstrip (g_strdup (cb_file)));
+ g_strdup (cb_file));
}
g_free (suffix);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]