2009-11-24 [pawel] 3.7.3cvs20
authorPaweł Pękala <c0rn@gazeta.pl>
Tue, 24 Nov 2009 21:43:07 +0000 (21:43 +0000)
committerPaweł Pękala <c0rn@gazeta.pl>
Tue, 24 Nov 2009 21:43:07 +0000 (21:43 +0000)
* src/common/utils.c
Fix Bug 2053 'Inconsistent application of Coloration
of Message text'
Don't allow '<' character between quotation marks

ChangeLog
PATCHSETS
configure.ac
src/common/utils.c

index dd83a401ce60940051ea1124bc678b415107a84b..954fd6b229bf862e56d304aa50c74de3741b296a 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2009-11-24 [pawel]     3.7.3cvs20
+
+       * src/common/utils.c
+               Fix Bug 2053 'Inconsistent application of Coloration 
+               of Message text'
+               Don't allow '<' character between quotation marks
+
 2009-11-21 [holger]    3.7.3cvs19
 
        * src/printing.c
index f52dfc1e2e44b85ce7576bdfcedf2f7500102f77..d7c97342e78d4768f9b0c0302e7229125a8cbd6f 100644 (file)
--- a/PATCHSETS
+++ b/PATCHSETS
 ( cvs diff -u -r 1.2.2.32 -r 1.2.2.33 src/news_gtk.c;  ) > 3.7.3cvs17.patchset
 ( cvs diff -u -r 1.24.2.27 -r 1.24.2.28 Makefile.am;  ) > 3.7.3cvs18.patchset
 ( cvs diff -u -r 1.1.2.27 -r 1.1.2.28 src/printing.c;  ) > 3.7.3cvs19.patchset
+( cvs diff -u -r 1.36.2.178 -r 1.36.2.179 src/common/utils.c;  ) > 3.7.3cvs20.patchset
index 4e70ba5887854034cb8a04cd4fff34b6d3f3ba3e..65330566a7b561ed91b4dec773accad5b44247b4 100644 (file)
@@ -12,7 +12,7 @@ MINOR_VERSION=7
 MICRO_VERSION=3
 INTERFACE_AGE=0
 BINARY_AGE=0
-EXTRA_VERSION=19
+EXTRA_VERSION=20
 EXTRA_RELEASE=
 EXTRA_GTK2_VERSION=
 
index a3d02088d1e9f309fbb7b82556443ee9fb76c467..d5c65373fb746be12bb9c2542976dda76c09974b 100644 (file)
@@ -1166,8 +1166,8 @@ gint get_quote_level(const gchar *str, const gchar *quote_chars)
                if (strchr(quote_chars, *p))
                        quote_level++;
                else if (*p != '-' && !g_ascii_isspace(*p) && p <= last_pos) {
-                       /* any characters are allowed except '-' and space */
-                       while (*p != '-'
+                       /* any characters are allowed except '-','<' and space */
+                       while (*p != '-' && *p != '<'
                               && !strchr(quote_chars, *p)
                               && !g_ascii_isspace(*p)
                               && p < last_pos)