]> www.fi.muni.cz Git - evince.git/commitdiff
Don't overquote special chars except of '. See bug 502500. Thanks to Tom
authorNickolay V. Shmyrev <nshmyrev@yandex.ru>
Sun, 13 Jan 2008 14:59:32 +0000 (14:59 +0000)
committerNickolay V. Shmyrev <nshmyrev@src.gnome.org>
Sun, 13 Jan 2008 14:59:32 +0000 (14:59 +0000)
2008-01-13  Nickolay V. Shmyrev  <nshmyrev@yandex.ru>

* 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
backend/comics/comics-document.c

index 7b1c4ec487da93eaed195b71a924fe2012233e3a..44404ea130314599e022912e6a5e414a1ae9e542 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2008-01-13  Nickolay V. Shmyrev  <nshmyrev@yandex.ru>
+
+       * 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  <wbolster@svn.gnome.org>
 
        * MAINTAINERS:
index 27c28008cb95e0bfec54bfb6bf44fc969b987977..004cb8e30b9b1cfdd2ffcc67fdd22afa7e91f1c1 100644 (file)
@@ -85,6 +85,8 @@ comics_regex_quote (const char *s)
        case ']':
        case '*':
        case '\\':
+           *d++ = '\\';
+           break;
        case '\'':
            *d++ = '\'';
            *d++ = '\\';