From fc8549bb2eb5f9a06f1b54269fba60ad3319f650 Mon Sep 17 00:00:00 2001 From: "Nickolay V. Shmyrev" Date: Sun, 13 Jan 2008 14:59:32 +0000 Subject: [PATCH] Don't overquote special chars except of '. See bug 502500. Thanks to Tom 2008-01-13 Nickolay V. Shmyrev * backend/comics/comics-document.c: (comics_regex_quote): Don't overquote special chars except of '. See bug 502500. Thanks to Tom Parker. svn path=/trunk/; revision=2822 --- ChangeLog | 7 +++++++ backend/comics/comics-document.c | 2 ++ 2 files changed, 9 insertions(+) diff --git a/ChangeLog b/ChangeLog index 7b1c4ec4..44404ea1 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2008-01-13 Nickolay V. Shmyrev + + * backend/comics/comics-document.c: (comics_regex_quote): + + Don't overquote special chars except of '. See bug + 502500. Thanks to Tom Parker. + 2008-01-13 Wouter Bolsterlee * MAINTAINERS: diff --git a/backend/comics/comics-document.c b/backend/comics/comics-document.c index 27c28008..004cb8e3 100644 --- a/backend/comics/comics-document.c +++ b/backend/comics/comics-document.c @@ -85,6 +85,8 @@ comics_regex_quote (const char *s) case ']': case '*': case '\\': + *d++ = '\\'; + break; case '\'': *d++ = '\''; *d++ = '\\'; -- 2.43.5