Fix sender initials recognition.
authorDarko Koruga <darko@users.sourceforge.net>
Mon, 22 Apr 2002 07:21:21 +0000 (07:21 +0000)
committerDarko Koruga <darko@users.sourceforge.net>
Mon, 22 Apr 2002 07:21:21 +0000 (07:21 +0000)
ChangeLog.claws
configure.in
src/compose.c

index 4b812d8..759b082 100644 (file)
@@ -1,3 +1,9 @@
+2002-04-22 [darko]     0.7.4claws91
+
+       * src/compose.c
+               fix sender initials recognition to only allow
+               '>' after the initials
+
 2002-04-21 [paul]      0.7.4claws90
 
        * sync with 0.7.5 release
index 99a97e5..0e2a857 100644 (file)
@@ -8,7 +8,7 @@ MINOR_VERSION=7
 MICRO_VERSION=4
 INTERFACE_AGE=0
 BINARY_AGE=0
-EXTRA_VERSION=claws90
+EXTRA_VERSION=claws91
 VERSION=$MAJOR_VERSION.$MINOR_VERSION.$MICRO_VERSION$EXTRA_VERSION
 
 dnl set $target
index b7fcada..c5b5f0f 100644 (file)
@@ -2237,6 +2237,8 @@ static guint get_indent_length(GtkSText *text, guint start_pos, guint text_len)
                        if (is_indent == FALSE && !isupper(cbuf[0]))
                                goto out;
                        if (is_indent == TRUE) {
+                               if (alnum_cnt > 0 && cb[0] != '>')
+                                       goto out;
                                alnum_cnt = 0;
                                state = WAIT_FOR_SPACE;
                        } else {